react-native-firebase-chat-demo icon indicating copy to clipboard operation
react-native-firebase-chat-demo copied to clipboard

Page not displaying anything

Open ShailajaV opened this issue 7 years ago • 2 comments

I am working on android. And the following are the installed versions. "react": "15.4.2", "react-native": "0.40.0", "react-native-gifted-messenger": "^0.1.4".

Page is not displaying anything and below on the android emulator there is a warning. Warning: 'keyboardShouldPersistTaps={true}' is deprecated. Use 'keyboardShouldPersistTaps="always"' instead.

Could you please help me on this.

ShailajaV avatar Apr 27 '17 00:04 ShailajaV

Please comment all keyboardShouldPersistTaps from GiftedMessenger.js and use if (this.isLastMessageVisible()) { this.scrollToBottom(); }

this instead of

if (this.props.keyboardShouldPersistTaps === false) { if (this.isLastMessageVisible()) { this.scrollToBottom(); } }

I have got the same problem and solved.

tareq0065 avatar May 29 '17 14:05 tareq0065

Thank you. I will try the same.

ShailajaV avatar May 29 '17 14:05 ShailajaV