Hello,
currently on ArcGIS Enterprise 11.3, Enterprise Sites allows users to use Layout Builder to add a Gallery into a site's page. When a user clicks on one of the gallery items, the link gets open 'within' the Site rather than outside of the Site. This is due the enabled option Settings | Interactions | Embedded Apps as mentioned in this Enterprise Idea Open Enterprise Sites gallery items using their ow... - Esri Community.
As an expample the URL of the gallery item is https://<portalURL>/apps/sites/#/<site-name>/apps/<item-id> rather than the direct URL https://<portalURL>/apps/experiencebuilder/experience/?id=<item-id>
When the first URL (via the gallery) is opened, the linked app appears in an iframe within the site page, causing a vertical scrollbar to appear. On the other hand, the direct URL opens the app using its native URL without embedding it in the site.
I checked the CSS and saw overflow-y: auto; set on the body, which might be the reason for the scrollbar.
Disabling the Settings | Interactions | Embedded Apps option causes the app to open from the gallery card via its native URL, but without the global header of the ArcGIS site.
The issue arises when the option is enabled: you end up with an additional vertical scrollbar. This becomes even more problematic when viewing more information on a Story Map in edit mode on the ArcGIS Site, as I end up with three scrollbars in this case.
In other words, you’re left with a choice: either accept the extra scrollbar and keep the global navigation header from the ArcGIS site, or disable the Settings | Interactions | Embedded Apps option, which removes the global header but also eliminates the extra scrollbar.
The header of the ArcGIS Site is important in Apps - users need to be able to easily see if they are logged in.
It would be great to have the option to open gallery items with the global navigation header visible, without the appearance of extra scrollbars.
Kind regards,
Tim Freisen