Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Livechat Widget "deletes" chat, shows again when popout or refreshing #678

@rsgodinez

Description

@rsgodinez

Hi.

We invoke the widget.

this.showWidget();
this.initialize({
theme: {
title: title
}
});
this.setDepartment(depart);
this.maximizeWidget();

Widget shows correctly, so we register and start chatting:

image

image

image

Chat goes OK:

image

But when clicking on minimize:

this.onChatMinimized(function() {
RocketChat(function() {
this.hideWidget();
});

image

And then invoking the widget again

this.showWidget();
this.initialize({
theme: {
title: title
}
});
this.setDepartment(depart);
this.maximizeWidget();

chat shows like it has been "deleted":

image

if we use popout, it shows the chat text again

image

Same happens if we refresh F5.

But it can be confusing for the users, if they minimize and maximize without doing refresh F5. This issue/bug didn´t happen in livechat included with rocket.chat 3.11.1. It's happening in livechat included with rocket.chat 4.3.1.

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