api.Window.scrollTo - "smooth" behavior supported behind flag
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo
What specific section or headline is this issue about?
Browser Compatibility
What information was incorrect, unhelpful, or incomplete?
For Edge and Chrome, the behavior: "smooth" option for window.scrollTo() is only supported if the user has enabled the experimental flag chrome://flags/#smooth-scrolling.
What did you expect to see?
A note saying that the smooth scrolling paramater is supported only if the user has enabled the flag
Do you have any supporting links, references, or citations?
Comment by Tamas Bolvari on Saeed Hassanvand's answer on this stackoverflow thread https://stackoverflow.com/questions/49636727/why-is-scroll-behaviorsmooth-not-working-but-javascript-window-scroll-smooth-is
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/api/window/scrollto - MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/window/scrollto/index.md
- Last commit: https://github.com/mdn/content/commit/cc070123f72376faec06e36622c4fc723a75325f
- Document last modified: 2023-04-08T06:57:07.000Z
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 with the Window.scrollTo compatibility data associated with en-us/web/api/window/scrollto/index.md, then compare its behavior support entries with the MDN page and cited reference. Done means the smooth option's experimental-flag requirement is represented for Edge and Chrome and the resulting compatibility information is accurate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100