Summary: | Touching media controls sometimes shows software keyboard | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||||
Component: | HTML Editing | Assignee: | Eric Carlson <eric.carlson> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bdakin, commit-queue, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Other | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Eric Carlson
2019-07-03 19:55:40 PDT
Created attachment 373450 [details]
Patch
Comment on attachment 373450 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=373450&action=review > Source/WebKit/WebProcess/WebPage/WebPage.cpp:2899 > + if (oldFocusedElement == newFocusedElement && newFocusedElement->isContentEditable()) I got a chance to debug this a bit — a few observations… 1. newFocusedElement in this case is <INPUT id='' type='text' class='active’> when tapping on the media controls. 2. It looks like this change would make the bug go away by preventing the <INPUT id='' type='text' class='active’> from being refocused. This is because the input element itself is not content editable, but rather, is a text form control (which contains an editable area). Created attachment 373473 [details]
Patch
Thanks Wenson! Comment on attachment 373473 [details] Patch Clearing flags on attachment: 373473 Committed r247158: <https://trac.webkit.org/changeset/247158> All reviewed patches have been landed. Closing bug. |