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

fix(modgrid): restore scroll position of modgrid after navigation #206

Closed
wants to merge 1 commit into from

Conversation

joshuata
Copy link

@joshuata joshuata commented Nov 8, 2024

Previously the scroll position of the modgrid would be reset when a user navigated back to the grid page. This is due to the scrolling setup, where div#page is scrolled rather than the complete page. That could probably be properly fixed in the future, but this works for now. Properly fixing this would likely resolve #156 and #183 as well.

Fixes #42

Previously the scroll position of the modgrid would be reset when a user navigated back
to the grid page. This is due to the scrolling setup, where `div#page` is scrolled rather
than the complete page.

That could probably be properly fixed in the future, but this works for now.
Copy link

vercel bot commented Nov 8, 2024

@joshuata is attempting to deploy a commit to the satisfactorymodding Team on Vercel.

A member of the Team first needs to authorize it.

@joshuata
Copy link
Author

joshuata commented Nov 8, 2024

In the long term skeleton v3 is moving away from the AppShell to custom layouts for exactly this problem. So that is worth keeping an eye on for the future (https://next.skeleton.dev/docs/get-started/layouts)

@joshuata
Copy link
Author

Pre-empted by #210

@joshuata joshuata closed this Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
1 participant