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

dismissKeyboard() method? #16

Open
gitasong opened this issue Mar 20, 2018 · 2 comments
Open

dismissKeyboard() method? #16

gitasong opened this issue Mar 20, 2018 · 2 comments

Comments

@gitasong
Copy link

What's the possibility of having a dismissKeyboard() method written for this module? I know that the original author is no longer actively developing this, but that others are.

I'd really like to use this module in a project—it's simple and elegant—but I don't write any Java myself. Is there anyone who'd be willing to add this method?

@sidalihallak
Copy link

import { Keyboard } from 'react-native';

Keyboard.dismiss()

@gitasong
Copy link
Author

gitasong commented Mar 21, 2018

import { Keyboard } from 'react-native';
Keyboard.dismiss()

Yeah—I finally figured that out. It wasn't obvious from the code that the custom keyboard was being registered as an actual Android keyboard, so I didn't think I could actually use this. Thanks for the confirmation! It would be nice if this could be included in the README so that junior folks like me wouldn't have to hunt for it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants