Re:Hijacking the browser's default behavior is a dick move
by nej_simon on Saturday January 02, 2021 @02:58AM
(#25611186)
The committer is confusing two different things here.
If you edit your browser setting regarding smooth scrolling you set what happens when you scroll on your input device, i.e. touchpad, mouse wheel or whatever.
If you as a website developer set the `scroll-behaviour` css property you control what happens when the browser changes scroll position for ex. if you programatically change the focus.
If you edit your browser setting regarding smooth scrolling you set what happens when you scroll on your input device, i.e. touchpad, mouse wheel or whatever.
If you as a website developer set the `scroll-behaviour` css property you control what happens when the browser changes scroll position for ex. if you programatically change the focus.