Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Bug on EventListener attached to sendButton #197

Open
KossakowskaKarolina opened this issue Oct 27, 2022 · 0 comments
Open

Bug on EventListener attached to sendButton #197

KossakowskaKarolina opened this issue Oct 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@KossakowskaKarolina
Copy link
Contributor

There are few issues with send button when the user sends the message:

  • EventListener attached to sendButton changes button permanently. Button doesn't come back to it's original state. There is also text 'send' left, along with not working icon.
  • It seems not to send message after first click. It just changes the look of the button, the second click sends the message (if the user didn't click on the icon - in that case message won't be sent either).
  • There is difference in the look of the button whether the user sends message by clicking on the button or pressing the enter key (there are two seperated event listeners: on sendButton and on input - the latter one is triggered by pressing enter key).

After clicking button:
image

After pressing enter key:
image

@PrimalPimmy PrimalPimmy added the bug Something isn't working label Oct 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants