We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 374449e commit 06950acCopy full SHA for 06950ac
1 file changed
wrywebview/src/main/kotlin/io/github/kdroidfilter/webview/wry/WryWebViewPanel.kt
@@ -60,7 +60,6 @@ class WryWebViewPanel(
60
// Request focus when clicked to capture keyboard events
61
host.addMouseListener(object : MouseAdapter() {
62
override fun mousePressed(e: MouseEvent?) {
63
- host.requestFocusInWindow()
64
requestWebViewFocus()
65
}
66
})
@@ -344,7 +343,6 @@ class WryWebViewPanel(
344
343
345
fun requestWebViewFocus() {
346
val action = {
347
348
webviewId?.let { NativeBindings.focus(it) }
349
350
if (SwingUtilities.isEventDispatchThread()) {
0 commit comments