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
I'm having a hard time tracking this one down, but for some reason, when I close a modal that has its trigger somewhere in the middle of a page, the scroll position resets to the top of the page.
This happens in a Gatsby website, and only in Safari.
I checked the activeElement right after this happens, and it's the #gatsby-focus-wrapper, not sure if that has something to do with it?
I don't believe we're doing anything fancy with scroll position on the page, so I could use some help to get to the root of this.
The text was updated successfully, but these errors were encountered:
The issue has been closed because it does not conform to our issue requirements.
Please provide a minimal reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io templatemay be a good starting point. Thank you!
I'm having a hard time tracking this one down, but for some reason, when I close a modal that has its trigger somewhere in the middle of a page, the scroll position resets to the top of the page.
This happens in a Gatsby website, and only in Safari.
I checked the
activeElement
right after this happens, and it's the#gatsby-focus-wrapper
, not sure if that has something to do with it?I don't believe we're doing anything fancy with scroll position on the page, so I could use some help to get to the root of this.
The text was updated successfully, but these errors were encountered: