[Webkit-unassigned] [Bug 239358] New: No caret displayed in input elements in WKWebView when clicked or programatically focused in a catalyst app
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 14 16:17:20 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239358
Bug ID: 239358
Summary: No caret displayed in input elements in WKWebView when
clicked or programatically focused in a catalyst app
Product: WebKit
Version: WebKit Nightly Build
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andrews at infragistics.com
Created attachment 457655
--> https://bugs.webkit.org/attachment.cgi?id=457655&action=review
A simple mac catalyst app that has a wkwebview for the steps described.
I have a mac catalyst app using a wkwebview. Within that I am using a contentEditable div but the same issue occurs with an input or textarea. Namely when one clicks on said element it will get keyboard focus but does not render a caret until you click it again. Similarly this happens if you programatically focus the wkwebview.
Scenario 1:
* Run app
* Click either the box under the content editable label, textarea label or input label.
Results:
No caret is displayed (or you see a solid non-blinking line). Technically you can type at this point as see that it has focus. If you click it again then you will get the blinking caret.
Scenario 2:
* Run the app
* Click into the content editable box, the textarea box or input box.
* Click it again. (Not required but you’ll see the caret blinking.
* Click in the textfield below the “Click To Focus” label so that the textfield becomes the first responder
* Click/tao the “Click To Focus” label.
Results:
No caret is displayed. Again technically you can type so it has keyboard focus. Note clicking the label again won’t help but if you click in the editable element it will start to show the caret.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220414/0b786c0e/attachment.htm>
More information about the webkit-unassigned
mailing list