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
{{ message }}
Repository navigation
Dropdown menu scroll posotion resets to top when opened #338
The scroll position of the page is unexpectedly reset to the top when opening a dropdown menu. I have recreated the problem with remix + shadcn-ui and the scroll position doesn't reset. This is also prevalent in the user dropdown. I'm not sure if this is intended behaviour so apologies if this is the case!
Without seeing the code it's hard to say what could be causing this. Is that a Link you're clicking on? If so, you may consider using: preventScrollReset
Activity
kentcdodds commentedon Jul 26, 2023
Without seeing the code it's hard to say what could be causing this. Is that a Link you're clicking on? If so, you may consider using:
preventScrollReset