-
-
Notifications
You must be signed in to change notification settings - Fork 112
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: Scroll to anchor not working #213 #214
Conversation
Deploy preview for saber ready! Built with commit 5c2ba51 |
Let's remove saber/website/src/mixins/doc.js Line 5 in d778282
|
I just noticed a couple of changes missing in my PR. I'll push them tomorrow. |
Another thing needs to fixed: trigger scroll on the initial load, currently we only trigger scroll after route navigation. |
Exactly, that change didn't go through. I'll push that later. |
So it works under Firefox but not Chrome 🤔 https://5ced00ce5e1c320008959c62--saber.netlify.com/tutorial/tutorial.html#prerequisites |
FYI, it works on (old) Edge. So blame Chromium😢 |
See https://deploy-preview-214--saber.netlify.com/docs#fn1 nicely scrolls to where it's supposed to go 😄 |
Summary
Fixes #213.
What kind of change does this PR introduce? (check at least one)
If changing the UI/CSS related code, please provide the before/after screenshot:
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
fix #xxx[,#xxx]
, where "xxx" is the issue number)You have tested in the following browsers: (Providing a detailed version will be better.)
If adding a new feature, the PR's description includes:
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information: