WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
199658
calling event.preventDefault() on touchforcechange events prevents scrolling
https://bugs.webkit.org/show_bug.cgi?id=199658
Summary
calling event.preventDefault() on touchforcechange events prevents scrolling
alexreardon
Reported
2019-07-09 22:59:09 PDT
Calling `event.preventDefault()` on `touchforcechange` opts out of native scrolling. It also opts out of click events. Example:
https://codesandbox.io/s/touch-events-fspff
My understanding is that this is not correct. I would think that `event.preventDefault()` on a `touchforcechange` event should only prevent the default forcechange action from occurring, and not other actions
Attachments
Add attachment
proposed patch, testcase, etc.
alexreardon
Comment 1
2019-07-09 23:00:47 PDT
I do not have access to an old device right now, but I think this might be a recent change
alexreardon
Comment 2
2019-07-09 23:29:24 PDT
Whoops - I meant old OS version
Radar WebKit Bug Importer
Comment 3
2019-07-10 09:08:48 PDT
<
rdar://problem/52894746
>
Antoine Quint
Comment 4
2019-07-12 02:45:36 PDT
Hi Alex. Could you specify what specific version of iOS this was found in? Thanks.
alexreardon
Comment 5
2019-07-12 04:36:30 PDT
12.3.1
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug