React Korean Input Bug: First Character Not Displaying Properly

input '가나다' -> 'rㅏ나다' I expected '가나다' but 'rㅏ나다' https://codesandbox.io/p/sandbox/w2qs6n Hello, I'm working on a React application where I need to transition from a button to an input field when the button is focused, and I want the user to start typing into the input field seamlessly. However, I'm encountering an issue when typing in Korean. When I first focus on the button and start typing Korean characters, the first character gets typed in English instead of Korean. After that, the input works as expected for the rest of the characters. Has anyone else faced this issue or have any suggestions on how to resolve it? I'd appreciate any help or insight into this! Thanks!

Jan 14, 2025 - 15:08
React Korean Input Bug: First Character Not Displaying Properly

input '가나다' -> 'rㅏ나다'
I expected '가나다' but 'rㅏ나다'
https://codesandbox.io/p/sandbox/w2qs6n

Image description

Image description

Hello,

I'm working on a React application where I need to transition from a button to an input field when the button is focused, and I want the user to start typing into the input field seamlessly. However, I'm encountering an issue when typing in Korean.

When I first focus on the button and start typing Korean characters, the first character gets typed in English instead of Korean. After that, the input works as expected for the rest of the characters.

Has anyone else faced this issue or have any suggestions on how to resolve it? I'd appreciate any help or insight into this!

Thanks!