Closed this issue 10 months ago · 1 comments
231ecfe + Android + Paper
Note that a similar issue also occurs for a regular TextInput component from React Native:
TextInput
Solution: apply formatting in onTextChanged method instead of afterTextChanged. Note that onTextChanged callback cannot modify text because React Native stores the length and tries to call substring with greater length which causes a crash.
onTextChanged
afterTextChanged
substring
Fixed in ce387e8