[Webkit-unassigned] [Bug 218533] New: Toggling pointer-events on body does not re-enable scrolling on child

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 3 13:37:29 PST 2020


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

            Bug ID: 218533
           Summary: Toggling pointer-events on body does not re-enable
                    scrolling on child
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Created attachment 413103

  --> https://bugs.webkit.org/attachment.cgi?id=413103&action=review

Code Reproduction

Setting `pointer-events: none` on the body and then removing it does not re-enable scrolling on descendent scrollable elements.

Steps to Reproduce:

1. Open attached code reproduction on an iPhone running iOS 14.0 or newer.
2. Verify that you can scroll the page.
3. Tap the "Tap to Disable Scrolling" button. Verify that you can no longer scroll the page. This adds `pointer-events: none` to the body.
4. After 3000ms `pointer-events: none` will be removed from the body. At this point, you should not be able to scroll, even though `pointer-events: none` has been removed.
5. Tap the "Tap me to fix scrolling" button. After doing this, you should be able to scroll again.


Expected Behavior:

After removing `pointer-events: none` from the body, I would expect to be able to scroll again.


Actual Behavior:

After removing `pointer-events: none` from the body, I am unable to scroll.


Additional Information:

* I had opened a similar issue for iOS 12.2, but that bug went away with iOS 13.0: https://bugs.webkit.org/show_bug.cgi?id=195801.
* This was tested on an iPhone 11 running iOS 14.2, but I can reproduce it on iOS 14.0.1 and iOS 14.1 as well.
* I cannot reproduce this on iOS 13.6.
* I cannot reproduce this on Safari for macOS.

-- 
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/20201103/9563b834/attachment-0001.htm>


More information about the webkit-unassigned mailing list