[Webkit-unassigned] [Bug 195801] New: (iOS 12.2) Removing and re-adding pointer-events does not allow element to receive events again

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 06:48:36 PDT 2019


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

            Bug ID: 195801
           Summary: (iOS 12.2) Removing and re-adding pointer-events does
                    not allow element to receive events again
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Created attachment 364792

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

Scrolling bug xcode project reproduction

Current Behavior:
When removing and then re-adding pointer events via CSS, the element does not receive events (such as a scroll event) unless there is some other CSS change that causes style recalculations (such as background-color, z-index, etc).

Expected Behavior:
The element should receive events after having pointer-events re-added.

Example:
See attached .zip for Xcode project.

Steps to reproduce: 
1. Run app on any iOS device running the iOS 12.2 beta.
2. Tap "Tap This Button".
3. The app should transition to a new page, a loader should appear, and then a list of names will be rendered. 
4. Attempt to scroll the new list (you should not be able to)
5. Tap the "fix scrolling" button. At this point, a CSS recalculation will occur and you will be able to scroll again.

Additional Info:
This has been tested on iOS 12.2 betas 3-5. Additionally, this issue does not exist on versions of iOS prior to the 12.2 Beta.

This issue does not occur in Safari, only in WKWebView. This issue does not occur without "-webkit-overflow-scrolling: touch;" set on the scrollable element.

-- 
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/20190315/e186fa28/attachment-0001.html>


More information about the webkit-unassigned mailing list