Skip to content

Auto correction doesn't call onChangeText #22691

Closed

Description

@yoman07

Environment

React Native Environment Info:
    System:
      OS: macOS 10.14
      CPU: x64 Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
      Memory: 60.66 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 8.11.3 - /usr/local/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.1.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Android Studio: 3.2 AI-181.5540.7.32.5056338
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      @storybook/react-native: ^3.3.12 => 3.4.5 
      @types/react: ^16.0.33 => 16.3.14 
      @types/react-native: ^0.51.8 => 0.51.10 
      react: 16.6.1 => 16.6.1 
      react-native: 0.57.7 => 0.57.5 
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1
      react-native-create-library: 3.1.2
      react-native-gesture-handler: 1.0.10
      react-native-git-upgrade: 0.2.7

Description

Autocorrection for iOS doesn't call onChangeText for TextInput.

Reproducible Demo

If I select text from autocorrection onChangeText doesn't work.

Example:
If I click "armed" onChangeText won't be called.

simulator screen shot - iphone xs max - 2018-12-18 at 16 20 59

Activity

  1. changed the title [-][TextInput] Auto correction doesn't call onChangeText[/-] [+]Auto correction doesn't call onChangeText[/+] on Dec 19, 2018
  2. imnapo commented on Feb 26, 2019

    @imnapo

    Same issue here. it only fires onChangeText() function when it automatically adds an extra space after autocorrection.

  3. stale commented on Aug 2, 2019

    @stale

    Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

  4. added
    StaleThere has been a lack of activity on this issue and it may be closed soon.
    on Aug 2, 2019
  5. stale commented on Aug 9, 2019

    @stale

    Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

  6. locked as resolved and limited conversation to collaborators on Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugComponent: TextInputRelated to the TextInput component.Platform: iOSiOS applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions