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
On macOS, pressing a letter key when the IME is active raises the TextInput event, then the KeyUp event.
Since KeyDown is never raised (as expected in this case), ideally we shouldn't raise KeyUp either.
We probably want to track _keyDownConsumedByInputContext or something _lastKeyDownEvent might also be useful. We might want to set _lastKeyDownEvent inside the keyUp handler.
Describe the bug
On macOS, pressing a letter key when the IME is active raises the
TextInput
event, then theKeyUp
event.Since
KeyDown
is never raised (as expected in this case), ideally we shouldn't raiseKeyUp
either.To Reproduce
Press any letter key inside a
TextBox
on macOS.Expected behavior
Only
TextInput
is raised, notKeyUp
.Avalonia version
11.2.4, master afa124f
OS
macOS
Additional context
No response
The text was updated successfully, but these errors were encountered: