isTyping is missing in methods on GiftedChat component
<GiftedChat
messages={this.state.messages}
onSend={messages => this.onSend(messages)}
isTyping={this.state.isTyping}
/>
this.state.isTyping is set to true
I dont see any indicator or any loader when waiting for a message!
Hi
Sorry not yet published
You can add the following; replacing this.channel.typing with whatever function your chat service uses.
typing() {
this.channel.typing();
}
// Gifted Chat Props
onInputTextChanged= {this.onTyping}
Any updates on when this will be published? 馃懠 @xcarpentier
Hi
Sorry not yet published
please remove that feature on readme if is not published yet
Please is this implemented yet?
it looks like the TypingIndicator.tsx file is included in the src for this project, yet I am unable to use the isTyping feature. Do you have an idea about when this might be usable?
I tried using isTyping={true} today on Android but it doesn't show up, any news on this?
Hi,
This is by design: not shown on the mount.
Try to use a boolean state variable and change the value.
Just like here:
https://github.com/search?q=isTyping+setIsTyping+filename%3AApp.tsx+repo%3AFaridSafi%2Freact-native-gifted-chat&type=Code
@xcarpentier thanks, manipulating state solved the issue.
Most helpful comment
Any updates on when this will be published? 馃懠 @xcarpentier