Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route navigation does not reset scrolling position #2

Open
JunoNgx opened this issue May 29, 2024 · 0 comments
Open

Route navigation does not reset scrolling position #2

JunoNgx opened this issue May 29, 2024 · 0 comments

Comments

@JunoNgx
Copy link
Owner

JunoNgx commented May 29, 2024

This is most obvious when navigating from the Landing Page to /help or /terms.

While this is a natural behavior of React (and probably react-router-dom), the complication comes in with the use of Mantine ScrollArea, where a custom area wrapped with scrolling takes over the document scrolling data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant