Which PCF Component
Calendar
What type of Power App are you using this PCF component in?
- Custom Page inside Model App
Describe the bug
When a custom page in Dynamics 365 contains this Calendar PCF control, the main app layout shifts after navigating back to the page. For example, if the user clicks on the sitemap button to open the custom page, then navigates to another menu item, and later clicks again on the same sitemap button, the left navigation menu becomes misaligned/offset. It looks like the PCF control pushes the shell layout outside of its expected bounds.
The issue happens even without any configuration on the PCF control — just adding the PCF (unconfigured, with no other elements on the page) is enough to reproduce the problem.
I have tried different approaches to prevent this, such as placing the PCF inside a container with responsive sizing and overflow hidden, but the problem persists. It is worth noting that other components, such as the Scheduler, do not exhibit this issue.
To Reproduce
Steps to reproduce the behavior:
- Create a new custom page in a model-driven app.
- Add any PCF control to the page (no configuration needed, an empty/unconfigured control is enough).
- Publish the page and add it to the sitemap.
- Open the custom page from the sitemap, then navigate to another menu item.
- Return to the custom page via the sitemap.
Expected behavior
The custom page should open and render correctly every time, with the sitemap and app layout remaining properly aligned. Navigating away from the page and returning to it should not cause any shift, regardless of whether a PCF control is present.
Screenshots
Exemple on the first click :
Exemple on the 2nd click :
Additional context
As mentioned, the issue does not depend on any other element of the page. Simply adding the PCF alone, with no configuration, is enough to trigger the problem.
The behavior has been tested and reproduced across multiple Microsoft first-party apps such as Team Member and Sales.
Thank you in advance, and congratulations for the tremendous work you have done on the various PCF components you share with the community.
Which PCF Component
Calendar
What type of Power App are you using this PCF component in?
Describe the bug
When a custom page in Dynamics 365 contains this Calendar PCF control, the main app layout shifts after navigating back to the page. For example, if the user clicks on the sitemap button to open the custom page, then navigates to another menu item, and later clicks again on the same sitemap button, the left navigation menu becomes misaligned/offset. It looks like the PCF control pushes the shell layout outside of its expected bounds.
The issue happens even without any configuration on the PCF control — just adding the PCF (unconfigured, with no other elements on the page) is enough to reproduce the problem.
I have tried different approaches to prevent this, such as placing the PCF inside a container with responsive sizing and overflow hidden, but the problem persists. It is worth noting that other components, such as the Scheduler, do not exhibit this issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The custom page should open and render correctly every time, with the sitemap and app layout remaining properly aligned. Navigating away from the page and returning to it should not cause any shift, regardless of whether a PCF control is present.
Screenshots
Exemple on the first click :
Exemple on the 2nd click :
Additional context
As mentioned, the issue does not depend on any other element of the page. Simply adding the PCF alone, with no configuration, is enough to trigger the problem.
The behavior has been tested and reproduced across multiple Microsoft first-party apps such as Team Member and Sales.
Thank you in advance, and congratulations for the tremendous work you have done on the various PCF components you share with the community.