KeyUp event not being triggered for Canvas #12163
Answered
by
danielmayost
matthewcrews
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Key down is handled from the focused control up the tree to the root. Meaning, you need to have at least some focusable control inside of the Canvas or make itself Focusable=true (and Focus it as well). |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a Canvas element and want to handle it when the
Esc
key is pressed. I can handleonPointerReleased
events but for some reason I am not triggering when theEsc
key is pressed. The following code reproduces the problem.Code:
Beta Was this translation helpful? Give feedback.
All reactions