[Webkit-unassigned] [Bug 225561] New: iOS 14.5 bug: Setting pointer-events: none on parent, text child still accepts touch events until repaint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 8 13:01:16 PDT 2021


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

            Bug ID: 225561
           Summary: iOS 14.5 bug: Setting pointer-events: none on parent,
                    text child still accepts touch events until repaint
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: iOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: conipoi12 at gmail.com

Hello all,

Problem: In iOS 14.5, dynamically setting pointer-events: none on a parent div still lets through touch events from text child.

Scenario:
1. Imagine you have a parent div that contains a child div with text.
2. In a touchend handler on the parent, you set pointer-events: none to the parent so it stops accepting further touch events
3. Tapping on the text of a child div still lets through touch events to the parent which is not desireable and which wasn't the case in iOS 14.4
4. Repainting the text child "fixes" this and correctly stops the child from letting through touch events.

https://codepen.io/conipo/pen/JjWoxmO

-- 
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/20210508/561917f8/attachment.htm>


More information about the webkit-unassigned mailing list