mdn / mdn/browser-compat-data

api.Window.scrollTo - "smooth" behavior supported behind flag

Open Beginner friendly
#20,217 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:chrome data:api
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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.