Skip to content

pressing enter to send a message causes a redirect  #307

Open
@laurencejennings

Description

@laurencejennings

I'm using webchat with a rasa server and a mern application.

Everything is working fine but on firefox if I press enter to send my message, instead of sending the message I get redirected to http://localhost:3000/?message=yes

After this, probably because of my react routes, the browser returns to the previous location, http://localhost:3000/, and the chat is in the state it was before pressing enter to send the message.

Clicking on the send button of the chat widget however works correctly.
Also, on chrome this behavior is not happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions