mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
60c0a60c50
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Update it's value as it changes on the JS thread, so that updated value is used (https://github.com/facebook/react-native/blob/f7f5dc66493ad25a85927a9503728b0491c8aab9/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java#L243) whenever setSelection(int start, int end) is called (https://github.com/facebook/react-native/blob/f7f5dc66493ad25a85927a9503728b0491c8aab9/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java#L315). Pull Request resolved: https://github.com/facebook/react-native/pull/17990 Differential Revision: D14255969 Pulled By: mdvacca fbshipit-source-id: 555d6752eabca5c31c1762955a56f99cc1828546