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

Bug on EventListener attached to sendButton  #197

@KossakowskaKarolina

Description

@KossakowskaKarolina

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions