Select to view content in your preferred language

Web Appbuilder causes website to jump to map when embedded

378
3
08-15-2023 08:38 AM
RezaTehranifar2
New Contributor III

We have webpage that has an embedded Web Appbuilder application that is hosted on AGO. The webpage acts as expected if a user visits the page for the first time and interacts with the map. But on the following visits to the website, there is an jump upon load to the location of the embedded Web Appbuilder. 
We noticed a few years ago that this happened but went away when we clicked off 'app state' option in editor mode. But the issue has resurfaced without us touching the 'app state' option.
Imagine this is a bug. Is there anything we can pass in the website code to remedy the situation? 

0 Kudos
3 Replies
David_McRitchie
Esri Contributor

Hey Reza,

 

This certainly sounds like a defect of sorts. Would you be able to provide us with a copy to the webpage or being able to try this with another Web App?

 

Many thanks,

David

Esri UK -Technical Support Analyst
0 Kudos
RezaTehranifar2
New Contributor III

Seems like it. This is the link. Its fine the first visit, but after that it jumps. This one isn't as egregious cause it right below the banner. We have one in prod that is down the page.

https://edc.nyc/fresh-supermarkets-zoning-boundaries

Agree that it seems like a bug. Curious if we can add any properties in the html or configure cookie settings to mitigate. Any suggestion in welcome.

 

0 Kudos
David_McRitchie
Esri Contributor

Thank you for linking the Web page and app. The page seems to scroll down when the Application has finished loading so I suspect that the splash page on the Web App might be triggering this.

I would suggest testing this with a different application, or without the splash screen.

 

Many thanks,

David

Esri UK -Technical Support Analyst
0 Kudos