[Fabric] TextInput UI is not updated when changing prop value
or calling inputRef.current.clear()
/ inputRef.current.setNativeProps({text: ''})
#2066
Labels
Environment
Steps to reproduce the bug
Issue:
When using Fabric and having a component TextInput with the following definition:
Calling the method clearTextInput doesn't clear the UI value.
Screen.Recording.2024-02-03.at.15.32.49.mov
Expected Behavior
I would expect the same behavior than when using a TextInput with Chakra:
value
: Old Arch ✅ / Fabric ❌inputRef.current.clear()
: Old Arch ✅ / Fabric ❌inputRef.current.setNativeProps({text: ''})
: Old Arch ✅ / Fabric ❌Reproducible Demo
https://github.com/gaeldestrem/rnrepro
The text was updated successfully, but these errors were encountered: