You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you go to the Quick Start page which hosts the Stackblitz iframe, the page, upon load, will automatically scroll to the position of the iframe. Can reproduce on Chrome and FF. (on Mac).
quick-start-iframe-scroll-hijack.mov
Details
This is less than desirable since the iframe is heavy and ideally should only be lazy loaded and when on desktop breakpoints. I think when the media query kicks in sets it to display: block is what is causing it? It definitely seems browser related since the URL is not changing at all. 🤔
I have not seen this behavior before. Removing the media query and display does not change this glitch. There really should be a way to solve this without a JS hack, I just do not know what it is at the time - besides using Safari.
Type of Change
Summary
If you go to the Quick Start page which hosts the Stackblitz iframe, the page, upon load, will automatically scroll to the position of the iframe. Can reproduce on Chrome and FF. (on Mac).
quick-start-iframe-scroll-hijack.mov
Details
This is less than desirable since the iframe is heavy and ideally should only be lazy loaded and when on desktop breakpoints. I think when the media query kicks in sets it to
display: block
is what is causing it? It definitely seems browser related since the URL is not changing at all. 🤔cc: @aholtzman 🙏
The text was updated successfully, but these errors were encountered: