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

Android - keyboardDidShow does not work #17995

Closed
RyanMitchellWilson opened this issue Feb 15, 2018 · 1 comment
Closed

Android - keyboardDidShow does not work #17995

RyanMitchellWilson opened this issue Feb 15, 2018 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@RyanMitchellWilson
Copy link

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS High Sierra 10.13.3
Node: 7.5.0
Yarn: Not Found
npm: 4.4.1
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: =16.2.0 => 16.2.0
react-native: =0.50.0 => 0.50.0

Target Platform: Android (8.0.0)

Steps to Reproduce

Here is my code:

componentWillMount() {
  this.keyboardDidShowListener = Keyboard.addListener(
    'keyboardDidShow', () => {
      console.log('Here --> Keyboard did show');
      this.scrollToEnd()
    }
  )
}

Expected Behavior

I should see the console log and it should call my function

Actual Behavior

Works perfectly on IOS but nothing happens on Android. Not even the console log so it clearly isn't even setting up a listener for the keyboard.

@RyanMitchellWilson RyanMitchellWilson changed the title keyboardDidShow does not work on Android Android - keyboardDidShow does not work Feb 15, 2018
@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

How to ContributeWhat to Expect from Maintainers

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon. labels Feb 24, 2018
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 24, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Feb 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants