Replies: 1 comment
-
I don't know how to use reanimated, but if you make the TextInput uncontrolled it shouldn't lag by that frame. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋
I have a
TextInput
that is used to enter a phone number. It does some formatting logic, but since everything is delayed one frame, it looks bad (not too bad, but not ideal). I know that I can write my own native component and implementshouldChangeCharactersInRange
there, but I would like to deal with that on js side. I already know how to control what's shown inside ofTextInput
usingtext
native prop in combo withAnimated.addWhitelistedNativeProps({ text: true });
, so the only thing left is to be able to provide a worklet foronChangeText
. Is there a way to do that?Beta Was this translation helpful? Give feedback.
All reactions