[Bug 25728] element.scrollIntoView should implement scrolling animation
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]/Bugs/Public/> |
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25728 Simon Pieters <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Component|CSSOM |CSSOM View Resolution|--- |WORKSFORME --- Comment #4 from Simon Pieters <[email protected]> --- The spec supports scrollIntoView({behavior:"smooth"}) http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface Alternatively you can set scroll-behavior: smooth; CSS property, which also scrolls smoothly when navigating to a fragment identifier. http://dev.w3.org/csswg/cssom-view/#smooth-scrolling:-the-'scroll-behavior'-property Please reopen if this does not sufficient. -- You are receiving this mail because: You are on the CC list for the bug.