| Summary: | (iOS 12.2) Removing and re-adding pointer-events does not allow element to receive events again | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Liam DeBeasi <ldebeasi> | ||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED CONFIGURATION CHANGED | ||||||
| Severity: | Normal | CC: | cdumez, dino, graouts, koivisto, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 12 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 12 | ||||||
| Attachments: |
|
||||||
Seems to work fine with trunk. |
Created attachment 364792 [details] 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.