Repository navigation
Closed
Labels
Component: TextInputRelated to the TextInput component.Related to the TextInput component.Platform: iOSiOS applications.iOS applications.Resolution: FixedA PR that fixes this issue has been merged.A PR that fixes this issue has been merged.
Description
Description
When using TextInput without multiline on iOS, the "." Shortcut (double tapping the space bar will insert a period followed by space) functionality is broken.
Steps to reproduce
- Install the application with
yarn ios - Type into the first
TextInputthe characters:A new sentence - Type into the second
TextInputthe characters:A new sentence - Observe that the first
TextInputhas text that reads:A new sentence - Observe that the second
TextInputhas text that reads:A new. Sentence
React Native Version
0.73.3
Affected Platforms
Runtime - iOS
Output of npx react-native info
System:
OS: macOS 13.6.3
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 29.21 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.10.0
path: ~/.nvm/versions/node/v20.10.0/bin/node
Yarn:
version: 1.22.19
path: ~/.yarn/bin/yarn
npm:
version: 10.2.3
path: ~/.nvm/versions/node/v20.10.0/bin/npm
Watchman:
version: 2023.12.04.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.14.2
path: /Users/joshsmith/.asdf/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK:
API Levels:
- "28"
Build Tools:
- 28.0.3
Android NDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 1.8.0_74
path: /usr/bin/javac
Ruby:
version: 3.2.1
path: /Users/joshsmith/.asdf/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.3
wanted: 0.73.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Stacktrace or Logs
N/A
Reproducer
https://github.com/joshsmith/textinput-no-multiline-breaks-autocorrect
Screenshots and Videos
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-02-01.at.14.12.22.mp4
Metadata
Metadata
Assignees
Labels
Component: TextInputRelated to the TextInput component.Related to the TextInput component.Platform: iOSiOS applications.iOS applications.Resolution: FixedA PR that fixes this issue has been merged.A PR that fixes this issue has been merged.
Activity
mhoran commentedon Feb 19, 2024
This looks like #27693, for which there is a pending fix in #39385.
gedu commentedon Mar 1, 2024
Hey, Yes this issue should be fixed with that PR, if anyone can ping on my PR so it can get more visibility will be great
react-native-bot commentedon Aug 29, 2024
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
react-native-bot commentedon Aug 29, 2024
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
mhoran commentedon Aug 29, 2024
Still an issue.
gedu commentedon Aug 29, 2024
I proposed another solution: #39385 (comment)
NickGerleman commentedon Oct 16, 2024
Likely fixed in new arch with #46970 (thanks @gedu for linking me to this!)