RESOLVED FIXED 119839
[iOS] -webkit-overflow-scrolling: touch; ignores pointer-events: none;
https://bugs.webkit.org/show_bug.cgi?id=119839
Summary [iOS] -webkit-overflow-scrolling: touch; ignores pointer-events: none;
BrianMB
Reported 2013-08-15 07:58:29 PDT
Use Case === A scrollable overlay with kinetic scrolling enabled may be hidden with opacity: 0; and shown later (using a HWA'd transition/animation). As such, you want to disable pointer interaction with the modal while it is hidden by using pointer-events: none;. Problem === You will find that you cannot scroll the base page, because the user's pointer (finger) is still scrolling the invisible overlay. Expected Behavior === That scrolling action should not be registered by the overlay, going to the next interaction-enabled element below.
Attachments
Patch (21.57 KB, patch)
2016-06-09 17:28 PDT, Antoine Quint
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (655.78 KB, application/zip)
2016-06-09 18:26 PDT, Build Bot
no flags
Patch for landing (22.00 KB, patch)
2016-06-09 18:34 PDT, Antoine Quint
no flags
Simon Fraser (smfr)
Comment 1 2013-08-15 09:14:35 PDT
Tracked by <rdar://problem/14735863>. iOS bugs are tracked internally, so closing this.
BrianMB
Comment 2 2013-08-26 11:19:52 PDT
Here is a condensed test: http://jsfiddle.net/brianblakely/t4ys2/ The darker "overlay" element is not scrollable in Safari/OS X, as expected. It scrolls in Safari/iOS, however, and blocks the "base" element's pointer input. Thanks!
BrianMB
Comment 3 2014-09-10 13:15:18 PDT
Test fails in iOS 8 GM.
Antoine Quint
Comment 4 2016-06-09 17:25:06 PDT
Antoine Quint
Comment 5 2016-06-09 17:28:31 PDT
Build Bot
Comment 6 2016-06-09 18:26:50 PDT
Comment on attachment 280970 [details] Patch Attachment 280970 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1475549 New failing tests: fast/scrolling/ios/touch-scroll-pointer-events-none.html
Build Bot
Comment 7 2016-06-09 18:26:52 PDT
Created attachment 280972 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.4
Antoine Quint
Comment 8 2016-06-09 18:34:15 PDT
Created attachment 280973 [details] Patch for landing
WebKit Commit Bot
Comment 9 2016-06-09 19:05:00 PDT
Comment on attachment 280973 [details] Patch for landing Clearing flags on attachment: 280973 Committed r201901: <http://trac.webkit.org/changeset/201901>
WebKit Commit Bot
Comment 10 2016-06-09 19:05:04 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 11 2016-06-09 23:32:25 PDT
(In reply to comment #9) > Comment on attachment 280973 [details] > Patch for landing > > Clearing flags on attachment: 280973 > > Committed r201901: <http://trac.webkit.org/changeset/201901> It broke the Apple Windows build, see build.webkit.org for details.
Csaba Osztrogonác
Comment 12 2016-06-10 01:21:32 PDT
just to document, Alex already fixed it in https://trac.webkit.org/changeset/201915
Note You need to log in before you can comment on or make changes to this bug.