lukejacksonn / lukejacksonn/servor
Vertical scroll position resets when servor triggers reloading in Firefox
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
This is probably firefox issue (or even just me). But maybe is it related to servor configuration?
1. Serve some page with `servor --reload`, open it in FF
2. Scroll the page vertically
3. Trigger a reload with style changing
4. Page reloads but the scroll position is reset
Additional info:
Firefox 89.0.1, Win 8.1
Tested in Chromium 88.0.4324.150 and there is no problem. There is also no problem in Firefox if I run `servor` without `--reload` flag and do reload with F5.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with `servor --reload` in Firefox, following the listed scroll and style-change steps, then compare with Chromium and a normal F5 reload. Trace the reload behavior responsible for the position reset. Done means the vertical scroll position is retained after the reload in Firefox without breaking the reported working cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100