For the chatbox, unmounting or closing the parent container of the chatbox will close it. There's a chatbox.destroy() method that can be called in the componentWillUnmount method.
If you are referring to the popup, then you can call the popup.close() method. Please let us know if you need further help.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, thanks for useful post. Do you know how to close the chatbox once it's open ?
Hi Truong, thanks for reading the article.
For the chatbox, unmounting or closing the parent container of the chatbox will close it. There's a
chatbox.destroy()
method that can be called in thecomponentWillUnmount
method.If you are referring to the popup, then you can call the
popup.close()
method. Please let us know if you need further help.