donejs/donejs
在 GitHub 查看Browser back button should not cause the page to autoscroll on DoneJS site
Open
#859 建立於 2017年3月8日
bughelp wantedp4
描述
How often can you reproduce it?
- Always
Description:
When using the DoneJS site I noticed some behavior that may not be desirable, especially when navigating between long scrolling pages like when following a guide or reading documentation.
Steps to reproduce:
- Visit https://donejs.com/contributing.html#section=section_ReportingBugs
- Scroll down the page a bit.
- Visit google.com in that same tab.
- Use browser back button.
Expected results:
Scroll position remains unchanged.
Actual results:
Scroll position is animated towards that anchor matching the URL hash.
Environment:
| Software | Version |
|---|---|
| Browser | Google Chrome 59.0.3035.0 (Official Build) canary (64-bit) |
| Operating system | macOS 10.12.3 |