onChangeText should only fire once when typing a singe character. But when first typing on a TextInput, onChangeText will fire twice. See below for log of events for type "a" into a TextInput.
Paper
Fabric
Steps To Reproduce
Type a single character into a textinput
onChangeText will fire twice
Expected Results
OnChangeText will only fire once
CLI version
npx react-native -v
Environment
npx react-native info
Target Platform Version
None
Target Device(s)
No response
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
This is happening because of an extra call from UpdateState, however that extra call is needed to get the right ordering of events. Not sure what is the solution here but will look at it later
Problem Description
onChangeText should only fire once when typing a singe character. But when first typing on a TextInput, onChangeText will fire twice. See below for log of events for type "a" into a TextInput.
Paper![image](https://github.com/microsoft/react-native-windows/assets/42554868/4b297777-752f-46e0-909e-3fb60150b037)
Fabric![image](https://github.com/microsoft/react-native-windows/assets/42554868/79447927-5bb9-491a-9f6d-3468f53a7c3e)
Steps To Reproduce
Expected Results
OnChangeText will only fire once
CLI version
npx react-native -v
Environment
Target Platform Version
None
Target Device(s)
No response
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response