# Bug in the expanded chat button of rocket.Chat.Civechat

**URL:** <https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209>\
**Category:** Development\
**Created:** [September 16, 2021, 2:00pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209 "2021-09-16T14:00:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [September 16, 2021, 2:00pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/1 "2021-09-16T14:00:44Z")

</div>

We’re Workin on integratting Rocket.Livechat into our platform, and we found some bugs with the expanded chat button, when the user cliks on it, it opens a pop-up with the url ““rocket.‘servername’.com/livechat?mode=popout”” with the same form, but when the user close the pop-up, the livechat doesn’t open anymore.

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [September 17, 2021, 12:10pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/2 "2021-09-17T12:10:03Z")

</div>

Hi,

to be able to help you please read this, fill out some server details and make sure you test on the latest version of Rocket.

> <https://gist.github.com/reetp/a66149d5f060f260643a353ca7067a98>

---

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [September 27, 2021, 5:03pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/3 "2021-09-27T17:03:00Z")

</div>

Hi,

Version of Rocket.Chat Server: 3.7.1  
Operating System: Ubuntu x86\_64  
Deployment Method: Docker  
Number of Running Instances: 1  
NodeJS Version: v12.18.4  
MongoDB Version: 4.0.6

> Open Rocketchat.livechat Widget  
> Click on ‘expand chat’ button  
> Close the pop-up that will appear clicking on the ‘x’ from the browser, not from the rocket app  
> try to open the Rocketchat.livechat Widget again.  
> it doesn’t open anymore.

---

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [September 27, 2021, 5:40pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/4 "2021-09-27T17:40:50Z")

</div>

Expand chat button:

 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/1/13b1fff8d6c301946a1d70df306bf6ff7244b6b6.png)

---

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [September 27, 2021, 5:42pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/5 "2021-09-27T17:42:49Z")

</div>

closing the pop-up:

 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/b/bad62d7ec7feabe368b1ba9bafea08b4d45cc926.png)

---

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [September 27, 2021, 5:52pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/6 "2021-09-27T17:52:27Z")

</div>

Then, After closing the pop-up, it creates a div above the RocketChat.Livechat, and after that, the user can’t open the rocket chat widget again:

 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/6/6ac2d7b0d7fcbaeaf9ccebeceacd3566fa0f92b7.png)

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [September 28, 2021, 11:14am UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/7 "2021-09-28T11:14:42Z")

</div>

> [@lucasmartins](#):
>
> Version of Rocket.Chat Server: 3.7.1

Your version is unsupported.

Upgrade to latest and then test. Too many things have changed for anyone to be able to help you.

---

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [September 28, 2021, 11:27am UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/8 "2021-09-28T11:27:25Z")

</div>

Hi,

As you said, we upgraded the version of Rocker.Chat Server to 3.18.0 and NodeJS to v12.22.1, but the same issue has occurred.

---

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [September 29, 2021, 12:15pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/9 "2021-09-29T12:15:32Z")

</div>

The configurations we tested were:

```auto
Version of Rocket.Chat Server: 3.18.0
Operating System: Ubuntu x86_64
Deployment Method: Docker
Number of Running Instances: 1
NodeJS Version: v12.22.1
MongoDB Version: 4.0.6

```

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [September 29, 2021, 3:03pm UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/10 "2021-09-29T15:03:35Z")

</div>

Have asked if someone can take a look at this for you.

---

<div class="post-metadata">

**Author:** ![lucasmartins](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lucasmartins](https://forums.rocket.chat/u/lucasmartins)\
**Post date:** [October 8, 2021, 11:55am UTC](https://forums.rocket.chat/t/bug-in-the-expanded-chat-button-of-rocket-chat-civechat/12209/11 "2021-10-08T11:55:33Z")

</div>

any prevision for resolution?
