React-native-gifted-chat: GiftedChat - Warining 'keyboardShouldPersistTabs={true}' is deprecated. use 'keyboardShouldpersist='always' instead.

Created on 7 Jan 2017  路  7Comments  路  Source: FaridSafi/react-native-gifted-chat

In android emulator when i try to run the GiftedChat. it shows Warining 'keyboardShouldPersistTabs={true}' is deprecated. use 'keyboardShouldpersist='always' instead. the typeing input is hiding.

could you please tell me where to modify or am i using wrong version of GiftedChat. how to remove this error. thanks

Error:

image

image

[FILL THIS OUT]

step 1: Enter the Name in home screen and click next. then it takes to chat page.

[FILL THIS OUT]

Should show chat "type message text box'

[FILL THIS OUT]

Additional Information

  • React Native version: 0.40.0
  • react-native-gifted-chat version: 0.0.10
  • Platform(s) (iOS, Android, or both?): android

Most helpful comment

@nisharafic maybe you forgot to add android:windowSoftInputMode="adjustResize" as is indicated in the Android installation instructions. Have a look to #118 and #288.

All 7 comments

Seen that this has now been fixed on master. How soon will this be released to npm?

You can ignore this warning, the change in RN is backwards compatible and will not affect functionality and will not show on production versions.

another issue on the same build. if i click on the chat textbox at the bottom. it's moving to top of the screen and if enter any message then comes to bottom of the chat widget. how this can be fixed?

@nisharafic not sure I understand what's going on.
Can you attach an image? is it iOS or Android?

@kfiroo Sorry, guy. So, master is not compatible with RN 0.39 and lower, right?

@kfiroo please find the screenshot.

Before loading the chat widget. the text input is bottom.

before

after click on the textbox. it is going to top of the screen. this is the issue.
after

@nisharafic maybe you forgot to add android:windowSoftInputMode="adjustResize" as is indicated in the Android installation instructions. Have a look to #118 and #288.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yazhengwang picture yazhengwang  路  3Comments

radvc picture radvc  路  3Comments

arayaryoma picture arayaryoma  路  3Comments

Fr33maan picture Fr33maan  路  3Comments

pentarex picture pentarex  路  3Comments