Replies: 1 comment 1 reply
-
Did you ever figure this out? I've got the same use case. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
Here's my setup
I have a main element that is always visible and plays/pauses an animation when the spacebar is pressed.
I also have a
TextEdit::singleline
that is editable.The issue is that
When the
TextEdit
is being edited, the keyboard events are not consumed. Thus, when writing an space, the animation is played or paused.Question
How can I make the
TextEdit
consume all keyboard events when focused?PS
The actual setup is much more complex, so the solution
is not a viable solution and does not work for my use-case.
Thank you for reading!
Beta Was this translation helpful? Give feedback.
All reactions