Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: hitting send button when current textField is empty will send the last message #17

Open
wq-yang opened this issue Jan 2, 2021 · 1 comment

Comments

@wq-yang
Copy link

wq-yang commented Jan 2, 2021

In the chat screen, after the user has sent a message, the textField became empty, which is right for now, but if the user hits the send button again, it will send the last message.

It is because the messageText is not set to empty string after last message is sent.

This problem can also be fixed by refactoring like this Pull Request do.

@tusharSarwer
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants