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

Send Button not working while Keyboard is open #290

Closed
jnsfrg opened this issue Nov 23, 2016 · 11 comments
Closed

Send Button not working while Keyboard is open #290

jnsfrg opened this issue Nov 23, 2016 · 11 comments

Comments

@jnsfrg
Copy link

jnsfrg commented Nov 23, 2016

On my iOS version of the App, when the keyboard is open it is not possible to hit the send button. When I try to press it it will close the keyboard instead of sending the message. On Android this works just fine. Once the Keyboard is closed I am able to press the send Button.

Do you have any Idea how to fix this ?

  • React Native version: 0.36
  • react-native-gifted-chat version: v0.0.7
  • Platform(s) (iOS, Android, or both?): iOS
@Micjoyce
Copy link

I also have this problen! Have any idea to fix it?

@peterkruty
Copy link

Same here

@PuppyYuan
Copy link

textinpu blur first(keyborad close), then send button can be pressed, but I don't know how to resolve it

@morelazers
Copy link

I have this problem on Android too. RN 0.40

@kfiroo
Copy link
Collaborator

kfiroo commented Jan 10, 2017

This PR should fix it #332
Can you please use master and let me know if this is resolved?

@morelazers
Copy link

morelazers commented Jan 10, 2017

@kfiroo doesn't fix, I tried manually before it was merged.

Also have tried #327 to no avail.

I have a GiftedChat component inside a react-native-scrollable-tab-view if that is any help

@kfiroo
Copy link
Collaborator

kfiroo commented Jan 10, 2017

@morelazers try setting keyboardShouldPersistTaps='always' in contentProps prop of your react-native-scrollable-tab-view

@morelazers
Copy link

@kfiroo that got it, thank you so much!!

@kfiroo kfiroo closed this as completed Jan 10, 2017
@PuppyYuan
Copy link

thanks , I got it, too

@ankymtan
Copy link

Wrap your GiftedChat with KeyboardAvoidingView. Will fix.

I struggle the whole day. Turn out I wrap my Gifted chat in a Modal, some one wrap it in a Listview (cmt above), that wraper cause the proplem.

@GautierCo
Copy link

Thanks @kfiroo this working for me

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

8 participants