onInputTextChanged behavior
See original GitHub issueIssue Description
I want to cache my textMessage
in a Redux store, so I included the text
prop in Gifted chat with the value of the textMessage
prop in the store, with onInputTextChanged
prop on the Gifted Chat, but it clears when it is initially rendered.
Same as Issue #603
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
InputCallback | Android Developers
Notifies when the user finished entering text in an input box. default void. onInputTextChanged(@NonNull String text). Notifies the current text has changed in ......
Read more >Developers - onInputTextChanged behavior - - Bountysource
Issue Description. I want to cache my textMessage in a Redux store, so I included the text prop in Gifted chat with the...
Read more >react native - Issue with Gifted Chat, the messages jump up ...
I'm using Gifted Chat for react native, but I'm getting strange behavior. ... isAnimated scrollToBottom onInputTextChanged={e => emitTyping(user.
Read more >Getting baited onto react hooks! - Dasith's blog
... const onInputTextChange = e => { setInputUserName(e. ... you can do this if you want it to behave somewhat similar to componentDidUpdate....
Read more >@starling-tech/react-native-gifted-chat - npm package | Snyk
<GiftedChat text={customText} onInputTextChanged={text => this.setCustomText(text)} /* ... */ />. Notes for Android. If you are using Create React Native ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A quick hack
or better, if you want to keep
notifyInputTextReset()
working inresetInputToolbar()
Wouldn’t a new prop be nicer? something like
clearTextOnInitialLayout
.