[Webkit-unassigned] [Bug 240183] CSS overscroll-behavior-x: contain does not disable history navigation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 10 07:01:50 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240183

--- Comment #1 from Bruno Stasse <augus.dupin at gmail.com> ---
Per the specification, such browser action should indeed be prevented when setting `overscroll-behavior-x` to either `contain` or `none`: 

> 'contain': This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or *navigation*.
>From https://drafts.csswg.org/css-overscroll/#overscroll-behavior-properties.

This is important for most horizontal scroll-containers, as it is very easy to accidentally trigger history navigation while scrolling, causing very poor user experiences. This is one of the top reasons this specification was introduced and eagerly expected by developers.

Safari not respecting this also causes interoperability issues with Firefox and Chrome.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220510/b5ca0330/attachment-0001.htm>


More information about the webkit-unassigned mailing list