Repository: react-native
Issue: app always crashes on IOS when inputting to a TextInput the word 'near' (lowercase)
Labels: Platform: iOS,Component: TextInput,Needs: Triage :mag:,Newer Patch Available

### Description

app always crashes on IOS when inputting to a TextInput the word 'near', see attached Snack.

It will happen every time you type slow enough so that the autocomplete feature of IOS will mark some letters.

If you type really fast, before the autocomplete is able to mark anything - you will be able to 'get through' (not carsh).

To make it more bizzare - it crashes for any combination of lowercase/uppercase, as long as the last letter ('r') is lowercase.

If you do enter it with a capital 'R', even when the autocorrect changes it to lowercase 'r', it will 'get through' (not carsh).

But when you delete and input it again with lowercase 'r' - it will crash again.



### Steps to reproduce

Here is a snack to reproduce:

[Snack link](https://snack.expo.dev/uRdLAyV2e7gVfKBbGh4-x)

### React Native Version

0.76.3

### Affected Platforms

Runtime - iOS

### Output of `npx react-native info`

```text
info Fetching system and libraries information...
System:
  OS: macOS 14.2.1
  CPU: (10) arm64 Apple M1 Pro
  Memory: 305.55 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 23.3.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.9.1
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2024.10.07.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.1 AI-241.18034.62.2411.12071903
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

info React Native v0.76.5 is now available (your project is running on v0.76.3).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.76.5
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.76.3&to=0.76.5
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
```


### Stacktrace or Logs

```text
Using 'npx react-native log-ios', I didn't get any interesting logs:

info Tailing logs for device iPhone SE (3rd generation) (8A123318-1E64-47A1-8581-0ADE9F78E2A1)
NOTE:  Most system logs have moved to a new logging system.  See log(1) for more information.
Jul  5 03:00:46 ****** bootlog[0] <Notice>: BOOT_TIME 1720141246 903822
```


### Reproducer

https://snack.expo.dev/uRdLAyV2e7gVfKBbGh4-x

### Screenshots and Videos

_No response_