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

Is there a way to manually dismiss the keyboard? #647

Closed
operate2v opened this Issue Nov 23, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@operate2v

operate2v commented Nov 23, 2017

Is there a way to manually dismiss the keyboard?
For example, if you type certain text, the keyboard dismisses.

  • React Native version: 0.49.3
  • react-native-gifted-chat version: latest
  • Platform(s) (iOS, Android, or both?): both
@ownikss

This comment has been minimized.

Show comment
Hide comment
@ownikss

ownikss Dec 1, 2017

import dismissKeyboard from 'dismissKeyboard';

// for dismiss keyboard on your event:
dismissKeyboard();

ownikss commented Dec 1, 2017

import dismissKeyboard from 'dismissKeyboard';

// for dismiss keyboard on your event:
dismissKeyboard();

@leonel-lordford

This comment has been minimized.

Show comment
Hide comment
@leonel-lordford

leonel-lordford Dec 11, 2017

Worked excellent !!!
Thanks...
LordFord.

leonel-lordford commented Dec 11, 2017

Worked excellent !!!
Thanks...
LordFord.

@xcarpentier

This comment has been minimized.

Show comment
Hide comment
@xcarpentier

xcarpentier Dec 21, 2017

Collaborator

I close this issue but create a FAQ in readme to refer it: https://github.com/FaridSafi/react-native-gifted-chat#questions

Collaborator

xcarpentier commented Dec 21, 2017

I close this issue but create a FAQ in readme to refer it: https://github.com/FaridSafi/react-native-gifted-chat#questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment