You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch order of onSelectionChange and onChange events on iOS (#35603)
Summary:
Switched order of onSelectionChange and onChange events on iOS
This was already fixed but for fabric only https://github.com/facebook/react-native/blob/main/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm#L36-L46
This PR is a complementary of 7b48899Fixes#28865
## Changelog
[IOS] [FIXED] - onSelectionChange() is fired before onChange() on multiline TextInput
Pull Request resolved: #35603
Test Plan:
Reproduce the minimal example provided here #28865
Verify that the events order is onChange then onSelectionChange with no duplicates
Reviewed By: cipolleschi
Differential Revision: D41947673
Pulled By: dmytrorykun
fbshipit-source-id: cf452a6101400b1b54295c83fa7735449d91e781
0 commit comments