question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New message is appended to the last message in inputtext

See original GitHub issue

Issue Description

When type the message for the second time on android. It appends the new message in last message sent. Seems kind of buffer not cleared after message sent.

Steps to Reproduce / Code Snippets

<GiftedChat
          messages={this.state.messages}
          onSend={messages => this.onSend(messages)}
          showUserAvatar={true}
          user={data}
          listViewProps={{
            onEndReached: this.onEndReached
          }}
        />

Expected Results

No append previous message

Additional Information

  • Nodejs version: 11.10.1
  • React version: 16.6.3
  • React Native version: 0.58.6
  • react-native-gifted-chat version: 0.7.3
  • Platform(s) (iOS, Android, or both?): Android

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
meowmoncommented, Sep 2, 2019

same problem :< it appends in last word of last message “react”: “^16.8.6”, “react-native”: “^0.59.9”, “react-native-gifted-chat”: “^0.7.2”, Platform(s) (iOS, Android, or both?): Android

0reactions
hnrqssscommented, Dec 19, 2019

I’m still with this issue, i was try everything here , autocorrect, cleartext, block input when sending, but i still with this problem. RN 59.8 GIfted-chat 0.9.6 Platform: Android

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to append an text message when an input field is ...
To append an element with a text message when the input field is changed, change() and appendTo() methods are used. The change() method...
Read more >
How to delete an appended message in jquery after you have ...
I have looked through a lot of the already asked questions and cannot find it. I need the previous appended message to be...
Read more >
How to add error message to specific inputText / inputfield
I add a message to the page, but how can I add it to the input text ApexPages.Message message = new ApexPages.message(ApexPages.severity.
Read more >
Append Text Input to Multi Line Text Field on Edit Screen
Have the user type in someones name; Select the ADD icon; Have the entry Appended to a new line on the Multi line...
Read more >
InputText - BootsFaces Showcase
You can easily prepend or append text to your inputTexts and what you prepend and append ... < b:inputText label = "E-mail:" labelStyle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found