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
It looks like you are using an older version of React Native. Please update to the latest release, v0.59 and verify if the issue still exists.
The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
🐛 Bug Report
There is no way to track if a selection has been made or if the caret position has shifted, when the TextInput is already active (focused).
This is causing an issue if we needed the caret to always be on the far right end and this action shifts the caret/selection away.
There are no other callback functions being called when this event happens (do correct me if I am wrong).
To Reproduce
TextInput
with some text.onSelectionChange
oronFocus
.TextInput
.Expected Behavior
onSelectionChange
oronFocus
should be calledCode Example
(too simple to re-create).
Environment
info
React Native Environment Info:
System:
OS: macOS 10.14.3
CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
Memory: 9.25 GB / 32.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.1 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
IDEs:
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: ^0.59.5 => 0.59.5
npmGlobalPackages:
react-native-cli: 2.0.1
The text was updated successfully, but these errors were encountered: