-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard events don't work in web app #2296
Comments
I would expect this to stop all key presses from doing anything.
|
fixed in 1.6.10-dev1571 |
eymar
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Apr 9, 2024
The test for: JetBrains/compose-multiplatform#3644 Also a test for onPreviewKeyEvent issue (JetBrains/compose-multiplatform#2296)
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modifier.onKeyEvent
andModifier.onPreviewKeyEvent
do nothing in browser (tried chrome and firefox).Project to reproduce: https://github.com/mykola-dev/Tetris/blob/master/src/commonMain/kotlin/ds/tetris/ui/TetrisGame.kt#L65
arrows keys work fine on android and desktop.
The text was updated successfully, but these errors were encountered: