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
My use case is to be able to use keyboard shortcuts after the app has started and the window is opened. However, this does not work until the user interacts with the window. The only interaction that enables the keyboard handling seems to be the mouse click within the window.
This problem seems to apply to the keyboard events not being propagated into the webview. Because using the regular browser keyboard events does not work, such as pressing Space key to scroll the page down.
Reproduction
Start a Tauri app that opens a window that is vertically scrollable (any window with long enough content)
Press "Space" key after the window has opened
Expected behavior
The "Space" keyboard event is propagated to the webview and the view is scrolled down.
Describe the bug
My use case is to be able to use keyboard shortcuts after the app has started and the window is opened. However, this does not work until the user interacts with the window. The only interaction that enables the keyboard handling seems to be the mouse click within the window.
This problem seems to apply to the keyboard events not being propagated into the webview. Because using the regular browser keyboard events does not work, such as pressing Space key to scroll the page down.
Reproduction
Expected behavior
The "Space" keyboard event is propagated to the webview and the view is scrolled down.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: