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

improve keyboard handling by queuing and drafting a keyboard text change request #10

Open
barelyhuman opened this issue Oct 20, 2022 · 0 comments

Comments

@barelyhuman
Copy link
Owner

barelyhuman commented Oct 20, 2022

Currently due to the type of events passed from the React Native SDK, we only have either the keys that are being pressed or the original text during focus and blur.

We don't have a way to get if the text was modified over time (by autocomplete, autocorrect) or was replaced by selection, which aren't passed as events (at least not from the simulator)

which makes it hard to write an event based keyboard handler and so needs the focus and blur handlers to find the value

React Native handles this somehow, and we don't have the full idea of it but need to figure that out.

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

No branches or pull requests

1 participant