[Webkit-unassigned] [Bug 163207] New: touchmove event can't be prevent defaulted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 10 06:23:37 PDT 2016


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

            Bug ID: 163207
           Summary: touchmove event can't be prevent defaulted
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: iPhone / iPad
                OS: iOS 10
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Event Handling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: florian.maffini at free.fr

On Safari 10, by defining a simple listener that prevents default a 'touchmove' event within a scrollable element, the event is not prevent defaulted as it does with Safari 9.

The behavior between Safari 9 and Safari 10 diverges. It seems to be a regression.

This is reproducible here:  http://codepen.io/anon/pen/PGRxOv

Probably a webkit issue.

Steps to Reproduce:
1. Take an element with scrollable content (overflow: scroll).
2. Add an event listener on it for "touchmouve" event, and call `event.preventDefault()` in that event listener.

Expected Results:
The element should not be scrollable. To try to scroll on the related element should do nothing at all.

Actual Results:
The element is still scrollable on Safari 10.

Version:
iOS 10.0.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161010/ca59cd22/attachment.html>


More information about the webkit-unassigned mailing list