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
compositionstartandcompositionendlisteners 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.