Added alwaysScrollHeader option
Summary
In Firefox, the browser's auto-restore scroll position feature doesn't work correctly when navigating via history. I have not tried it in other browsers. I added this feature for myself but I figured I should contribute it in case someone finds it useful, and since is a very small change.
What kind of change does this PR introduce?
- Feature
- Docs
For any code change,
- [x] Related documentation has been updated if needed
- [ ] Related tests have been updated or tests have been added
Does this PR introduce a breaking change? (check one)
- [ ] Yes
- [x] No
If yes, please describe the impact and migration path for existing applications:
Related issue, if any:
Tested in the following browsers:
- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Edge
- [ ] IE
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| docsify-preview | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Mar 10, 2023 at 2:58AM (UTC) |
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 94f7fbf3e447f630300ce5c17479b46a1db17826:
| Sandbox | Source |
|---|---|
| docsify-template | Configuration |