[Webkit-unassigned] [Bug 252665] New: touch-action doesn't apply if element has overflow properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 21 07:56:35 PST 2023


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

            Bug ID: 252665
           Summary: touch-action doesn't apply if element has overflow
                    properties
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: adam.gamble at hey.com

Basic steps:

 - Set `touch-action: none;` on html and body tags.
 - Any child elements that set overflow-x or overflow-y will still have touch actions enabled.

Example repro: https://jsfiddle.net/e3hbd2L9/

The computed styles on child nodes is `touch-action: auto` so perhaps this is expected (?) behaviour. Unsure why adding overflow should make a difference though.

-- 
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/20230221/b698ab11/attachment.htm>


More information about the webkit-unassigned mailing list