Sidebar scrolling broke if scrollBehavior=smooth
Open
Nobody has claimed this yet.
Type: Bug
- Dominant language
- TypeScript
- Stars
- 25.9k
- Forks
- 2.4k
- Avg merge
- 13h 10m
- Merged PRs (30d)
- 4
Description
When scrollBehavior is set to smooth it breaks the sidebar scrolling.
For now I have used
document.documentElement.style.scrollBehavior = '';
Contributor guide
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 sidebar scrolling issue with scrollBehavior set to smooth, then trace the sidebar scrolling entry point in the TypeScript frontend. Verify the behavior with and without the workaround shown in the issue; done means sidebar scrolling works normally without changing document.documentElement.style.scrollBehavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100