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

Navigating to anchor prevents page scrolling on navigation (Firefox) #13574

Open
SunderShadow opened this issue Mar 12, 2025 · 1 comment
Open

Comments

@SunderShadow
Copy link

SunderShadow commented Mar 12, 2025

Describe the bug

I have /#about anchor link in footer leading to "About" page section. When i click to anchor section it transfers my view to "About" section, but after i click another link leading to another page no scroll happens (All my links without data-sveltekit-noscroll)
(No problem in chromium based browsers)

Reproduction

  1. Create two pages (ex "/", "/page")
  2. Create navigation with two links one of them must be with anchor (ex. "/#about")
  3. Make sure both of your pages has height more than 100vh
  4. Scroll page a little
  5. Click on the link with anchor
  6. Click on the link without anchor leading to another page

Logs

System Info

Firefox

Severity

annoyance

Additional Information

No response

@eltigerchino
Copy link
Member

Please provide a repository as a minimal reproduction.

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

No branches or pull requests

2 participants