WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
249223
preventDefault() doesn't block selection on iOS
https://bugs.webkit.org/show_bug.cgi?id=249223
Summary
preventDefault() doesn't block selection on iOS
Pierre Ossman
Reported
2022-12-13 07:17:00 PST
This issue is specific to Safari on iOS. It doesn't happen in Safari on macOS, nor in other browsers. We (noVNC) have a canvas where we grab all UI events (keyboard, mouse, touch), pass them on to the remote system, and call preventDefault() to avoid both a local and remote action. For the most part, this works well, but not for selections on iOS. There are two primary cases we've seen: * Pressing Cmd+A * Double-clicking In these cases, we get a local selection in Safari as well, which means we get a blue overlay annoying the user. We're trying to work around most of it by using -webkit-user-select, but it is difficult to handle all cases.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-12-20 07:17:15 PST
<
rdar://problem/103556502
>
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