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

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

Open
rsgodinez opened this issue Jan 14, 2022 · 0 comments
Open

Comments

@rsgodinez
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant