preact-native icon indicating copy to clipboard operation
preact-native copied to clipboard

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

Open barelyhuman opened this issue 3 years ago • 0 comments

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.

barelyhuman avatar Oct 20 '22 16:10 barelyhuman