React-native-gifted-chat: Temporarily disable TextInput

Created on 11 Dec 2019  路  4Comments  路  Source: FaridSafi/react-native-gifted-chat

is there a way to temporarily Disable TextInput for the chat. I only want the user to view the chats but not respond to it. is this possible? Would really appreciate some help with this.

wontfix

Most helpful comment

@DuranMoodley this issue is fixed. Just pass the disableComposer = {true} prop in GiftedChat to disable the composer.

All 4 comments

Making a pr for this issue.

@DuranMoodley this issue is fixed. Just pass the disableComposer = {true} prop in GiftedChat to disable the composer.

@Ali-Haider-Ch ideally, this should also deactivate any CustomAction, I just rendered the CustomActions and passed down the prop too

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings