ASSIGNED 199475
[iOS] Cannot preventDefault() in keypress to prevent Command + A
https://bugs.webkit.org/show_bug.cgi?id=199475
Summary [iOS] Cannot preventDefault() in keypress to prevent Command + A
Daniel Bates
Reported 2019-07-03 16:07:24 PDT
Steps to reproduce: 1. Visit <https://unixpapa.com/js/testkey.html> If you have a build with the fix for bug #199257 then: 2. Ensure default handling of keypress is suppressed. 3. Press Command + A Otherwise: 2. Press some keys, like a, b, c. 3. Ensure default handling of keypress is suppressed. 4. Focus the text field. 5. Press Command + A Then the content of the page (if you have the fix for bug #199257) or briefly the contents of the field will be selected. But Command + A should have been selected. Compare to Mac. Note, Command + A can be prevented from keydown on iOS.
Attachments
Note You need to log in before you can comment on or make changes to this bug.