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

Scroll to top when navigating between pages #38

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

BrandonRomano
Copy link
Member

@BrandonRomano BrandonRomano commented Dec 19, 2024

Fixes #37

This re-introduces #30 as a bug though, but this one is better to deal with.

I actually think #30 might be close to impossible to solve with this layout (or at least, beyond me, for now!). I need to specify a max-height on the sticky container so the Sidenav can independently be scrolled from the content. This max-height differs depending on if the footer is in view or not.

Fixes #37

This re-introduces #30 as a bug though, but this one is better to deal
with.
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 7:38am

@BrandonRomano BrandonRomano merged commit 868305c into main Dec 19, 2024
4 checks passed
@BrandonRomano BrandonRomano deleted the scroll-to-top branch December 20, 2024 01:18
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

Successfully merging this pull request may close these issues.

Clicking new nav doesn't scroll the page up
1 participant