Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on TextInput focus - com.facebook.react.views.textinput.ReactEditText.requestFocus(ReactEditText.java:192) #13361

Closed
dylanpinn opened this issue Apr 7, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@dylanpinn
Copy link

Description

We have been getting crash reports when users have been selecting a TextInput. It doesn't happen all the time only occasionally.

Reproduction Steps and Sample Code

I have been unable to reproduce with a small sample app.

The component where it seems to be happening the most is here. Which is

    <TextInput
      autoCapitalize="none"
      autoCorrect={false}
      onChangeText={(text) => {
        searchFunc(text);
      }}
      placeholder="Search..."
      underlineColorAndroid="transparent"
      style={styles.searchTextInput}
    />

Here is a pastebin of one of the crash logs. https://pastebin.com/ZKacW4Gb I can provide more on request.

Solution

Unsure, my Java skills are rusty. :(

Additional Information

  • React Native version: 0.42.3
  • Platform: Android
  • Development Operating System: Linux/MacOS
  • Dev tools: Android Studio 2.3.1
@hramos
Copy link
Contributor

hramos commented May 31, 2017

Hey thanks for reporting this! Unfortunately without a repro it is unlikely we will be able to take a look at this.

@hramos hramos closed this as completed May 31, 2017
@facebook facebook locked as resolved and limited conversation to collaborators May 31, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants