Modern page top placeholder renders on the page itself when viewed in SharePoint mobile app and disappears when scroll
Category
- [x] Question
- [ ] Typo
- [ ] Bug
- [ ] Additional article idea
Expected or Desired Behavior
I expected content in the top page placeholder to appear at the top of the screen in the mobile app and not be scrollable.
Observed Behavior
The content appears inside the page and disappears when scrolling.
Steps to Reproduce
if (!this._topPlaceholder) {
this._topPlaceholder = this.context.placeholderProvider.tryCreateContent(
PlaceholderName.Top,
{ onDispose: this._onDispose });
}
if (this._topPlaceholder.domElement) {
this._topPlaceholder.domElement.innerHTML = `
<div id="GlobalNavDiv">THIS WILL BE GLOBAL NAV
</div>`;
}
Here is the rendered content on my laptop
Here is the rendered content on my iPhone
Are there any plans to address this? It removes our ability to create widgets that live at the top of a site when viewed in mobile.
Thanks
For us the top placeholder does not render at all in the mobile app, neither do custom web parts.
We also found this frustrating. It results in our global navigation displaying below the site specific (quick launch) navigation.
Sorry for the super long delay. Thank you for your feedback - we will consider this for future refinements in the mobile app.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues