Skip to content

Close Button issue in ChatHeader #397

@umangutkarsh

Description

@umangutkarsh

Description:

Clicking the close button in ChatHeader does nothing and an error is generate in the console when the button is clicked.

Steps to reproduce:

  1. Open Storybook
  2. Enable the isClosable prop from the addon section if not done
  3. Open the console
  4. Click on the close button and see error.

Expected behavior:

The setClosableState should be a function if passed in the onClick prop of the Close button

Actual behavior:

isClosable.webm

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