react-native
react-native copied to clipboard
TextInput without multiline breaks double tap space bar "." shortcut on iOS
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
https://github.com/facebook/react-native/assets/321667/ed6dff06-1097-447b-b8e2-b67fc59d6604
This looks like #27693, for which there is a pending fix in #39385.
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