AnsweredAssumed Answered

Popup.open() causes viewport to jump so that map is in view. Bug?

Question asked by aliamin997 on Apr 3, 2018

I am working on a solution where the map sticks at the top of the page when users scrolls.

When user scroll down (and the map sticks to the top of the page), any call to popup.open() will make the browser suddenly "jumps".

 

The same problem happens also in esri demos. see videos below.

Is this a bug?

Is there a way to open a popup without making the browser to scroll the popup into view?

 

Thanks in advance

Outcomes