TextInput: text selection is not working properly #33858
Labels
Component: TextInput
Related to the TextInput component.
Impact: Bug
The issue represents a bug somewhere
Platform: iOS
iOS applications.
Priority: Low
Stale
There has been a lack of activity on this issue and it may be closed soon.
Tech: React Native Core
Issue related to the Core of React Native
Type: Old Architecture
For issues related to the old architecture
Description
In an application, if we have Text that is replaced by an TextInput when a button is tapped, and when the button is tapped, the focus is on the input with text selection, then the text selection is not visible for a long strings. For short strings everything works fine.
Version
0.67.2
Output of
npx react-native info
System:
OS: macOS 12.3.1
CPU: (8) x64 Apple M1
Memory: 56.32 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.4 - ~/.nvm/versions/node/v14.17.4/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 6.14.14 - ~/.nvm/versions/node/v14.17.4/bin/npm
Watchman: 2022.02.14.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /Users/perfectart/.rvm/gems/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 30, 31
Build Tools: 29.0.2, 30.0.2, 31.0.0
System Images: android-31 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.2 => 0.67.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Environment: iOS
Snack, code example, screenshot, or link to a repository
Code example:
Video:
https://user-images.githubusercontent.com/22524446/168973047-b82e0b14-ae74-4143-8473-75823dab834b.mov
The text was updated successfully, but these errors were encountered: