Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlled inputs meta problem #619

Open
Deraen opened this issue Jan 28, 2025 · 0 comments
Open

Controlled inputs meta problem #619

Deraen opened this issue Jan 28, 2025 · 0 comments

Comments

@Deraen
Copy link
Member

Deraen commented Jan 28, 2025

Combining controlled input problems from multiple older issues into one.

  1. Problems with Unicode characters Korean input broken on :input and :textarea #587 reagent render Input dosen't support Chinse and cursor doesn't perform well #444
    I haven't investigated this much, but it is likely this due to input workaround counting the characters and Unicode chars being counted incorrectly for some charsets
  2. Problems with React Native reagent render Input dosen't support Chinse and cursor doesn't perform well #444
  3. Possible problem with input workaround inside shadow root Controlled input loses cursor under ShadowRoot in React 18 #597 (not investigated)
  4. Certain input types (email, number) can't use the workaround because the Selection API isn't available or blocked; only fix is to remove the workaround. Controlled input loses cursor with React 18 when input type is :email or :number #609
  5. Input workaround might cause problems with cursor disappearing The cursor disappears at the end of a controlled input on Chrome #595

Possible fixes: #504 (would remove the need for the workaround)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant