element-hq / element-hq/element-web
Impossible to close video room PIP widget in a special case
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Where are you starting? What can you see?
Element Call is in PIP view. clicking on the end call button is not working.
2. What do you click?
**This requires to have the lab video room feature**
1. Select a video room. You should see the lobby view in the main pannel
2. REFRESH the tab
3. EW reloads in the same room, now join the call from the lobby
4. Switch to another room to make the call in PIP view
Try to leave the call from the tile => nothing happen
### Outcome
#### What did you expect?
To leave the call
#### What happened instead?
Nothing
```
installHook.js:1 Failed to leave call Error: Not connected
at ElementCall.disconnect (Call.ts:301:19)
at WidgetPip.tsx:87:22
at floating-ui.react.mjs:3166:1
at Array.map ()
at acc. (floating-ui.react.mjs:3166:1)
at executeDispatch (react-dom-client.development.js:19116:1)
at runWithFiberInDEV (react-dom-client.development.js:871:1)
### Operating system
_No response_
### Browser information
_No response_
### URL for webapp
_No response_
### Application version
1.12.7 and 1.12.6
### Homeserver
_No response_
### Will you send logs?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.