You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is related to touch devices only and webview tag.
The issue is that input rendered in the webview does not hide OSK when something else is getting the focus. The reason why it is considered an issue -> iframe and simple textarea does not work like that.
I also created a demo app where this issue can be easily reproduced. Just run the app, touch input in the webview and then touch something else except input elements.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
Issue is still present and not fixed.
Resolving of the issue is moved to chromium repo -- https://bugs.chromium.org/p/chromium/issues/detail?id=1369605. Even though it is still not clear how to fix it properly, there was a suggestion on how it can be fixed. I tried those changes and they work in one case -- where second tap is happening inside the same webview. It still does not work if second tap is somewhere else. Anyway, I believe that patch with those changes can be created in order to cover at least most popular user case with the fix. If proper fix is created, the patch can be easily removed.
I invite everyone who is affected by this bug to discuss and propose fixes in chromium work item.
This bug is fixed for one use-case in the following PR: #35921
Use-case is when input rendered in webview loses its focus due to something else inside the same webview gets focused.
Successor issue for another one use case is created: #36000
This issue can be considered closed.
Preflight Checklist
Electron Version
16.2.5
What operating system are you using?
Windows
Operating System Version
Windows 11, Version21H2, OS Build 22000.613
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
OSK hides if input rendered in the webview loses its focus.
Actual Behavior
OSK does not hide if input rendered only in the webview loses its focus.
Testcase Gist URL
https://github.com/kyrylo-hrechykhin/electron-osk-webview-test
Additional Information
The issue is related to touch devices only and webview tag.
The issue is that input rendered in the webview does not hide OSK when something else is getting the focus. The reason why it is considered an issue -> iframe and simple textarea does not work like that.
I also created a demo app where this issue can be easily reproduced. Just run the app, touch input in the webview and then touch something else except input elements.
The text was updated successfully, but these errors were encountered: