TextInput callbacks inconsistent order of onSelectionChange and onChange/onChangeText #45018
Labels
Component: TextInput
Related to the TextInput component.
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Description
The order remains constant for almost every circumstance:
onChange -> onChangeText -> onSelectionChange
Here are some cases that i discovered in iOS (could be more)
Steps to reproduce
Snack
In textInput component, use multiline and console.log as callbacks for each of the functions in discussion, see the output
React Native Version
0.74.84
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/zhVuXAjkAi5BMHVKq__vG
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: