Issue: IME Input Bug in Single Line Text (Modern Page v2)

Issue: IME Input Bug in Single Line Text (Modern Page v2)

Description: In the Modern Page v2 (Beta), the Single Line Text field fails to handle Vietnamese IME (Unikey/EVKey) correctly. It often “drops” characters during typing (e.g., typing “test” results in “tst”).

Key Observations:

  • Affects: Single Line Text fields only. (Markdown and Classic Pages work fine).
  • Environment: Reproducible on Linux and Windows using Vietnamese Telex/VNI.
  • Root Cause: Likely a conflict between React’s controlled input state and IME composition events.

Proposed Update:

  • Fix: Implement compositionstart and compositionend listeners to ensure the state only updates after the IME composition is finalized.
  • Alignment: Standardize the input logic of Single Line Text to match the stable performance of the Markdown component.

Hello, I haven’t reproduced your problem. When I type “te”, it displays “te”; when I type “tes”, it displays “té”; and when I type “test”, it displays “tét”.

I recorded to reproduce.
Check here https://drive.google.com/file/d/1AM7nV5lbH7Q-Iht0Aywg7vk9NWbAVGet/view?usp=sharing

@hongboji

Can you reproduce it?

I am unable to reproduce this problem.

Did you watch the video?

Please help me to reproduce with Windows instead of Mac.
Several companies in Vietnam are facing this problem. Thank you!