<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>225561</bug_id>
          
          <creation_ts>2021-05-08 13:01:16 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 14.5): Setting pointer-events: none on parent, text child still accepts touch events until repaint</short_desc>
          <delta_ts>2021-07-19 07:03:57 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>Safari 14</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="JP">conipoi12</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>conipoi12</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1758205</commentid>
    <comment_count>0</comment_count>
    <who name="JP">conipoi12</who>
    <bug_when>2021-05-08 13:01:16 -0700</bug_when>
    <thetext>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&apos;t the case in iOS 14.4
4. Repainting the text child &quot;fixes&quot; this and correctly stops the child from letting through touch events.

https://codepen.io/conipo/pen/JjWoxmO</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758444</commentid>
    <comment_count>1</comment_count>
    <who name="JP">conipoi12</who>
    <bug_when>2021-05-10 01:10:27 -0700</bug_when>
    <thetext>Note: This is also the case in macOS 11.3.1, i changed the codepen to also allow mouse events. Then it&apos;s also reproducible on Desktop Safari (Version 14.1 (16611.1.21.161.6))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758661</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-10 14:53:01 -0700</bug_when>
    <thetext>&lt;rdar://problem/77790142&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1766128</commentid>
    <comment_count>3</comment_count>
    <who name="JP">conipoi12</who>
    <bug_when>2021-06-02 13:29:40 -0700</bug_when>
    <thetext>Is there any news on this? The bug still persists in Safari Version 14.1.1 (16611.2.7.1.4) and iOS 14.6</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>