Skip to content

Chat component can't render 2 processing events in quick succession, on first message #91

@ErezSha

Description

@ErezSha

There's an issue with chat component when it won't move away from "processing" event on first message, if sent quickly to the UI.

This is caused because of the resetEvents unmount effect in Chat.tsx, which is called between event processing.

This unmount is caused, in turn, because after the first message, the route changes from /agent/{id} to /session/id.

I'm not sure if the session id change is on purpose and why it's necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions