mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-10 03:41:09 +01:00
* Fix cursor position bug during IME composition Add IME composition check to BasicMessageComposer.onKeyDown to prevent cursor position issues when pressing Tab key immediately after Japanese input conversion. This matches the behavior in SendMessageComposer and EditMessageComposer. Fixes issue where cursor would jump to the beginning of the input field after converting Japanese text and pressing Tab. * Add tests for IME composition keydown handling - Add test to verify keydown events are ignored during IME composition - Add test to verify keydown events are handled normally when not composing - Tests ensure the fix for Japanese IME cursor position bug works correctly