Remove the floating call/widget PiP window

Discord-style: an active call keeps running invisibly when you browse other
rooms (PersistedElement just hides the iframe) and reappears when you return
to its room — no floating window following you around.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-25 22:53:18 -07:00
parent 4e8d7be03e
commit 4b560993a1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"productName": "Element",
"main": "lib/electron-main.js",
"exports": "./lib/electron-main.js",
"version": "1.0.3",
"version": "1.0.4",
"description": "Element: the future of secure communication",
"author": {
"name": "Element",
@@ -64,7 +64,6 @@ import { KeyBindingAction } from "../../accessibility/KeyboardShortcuts";
import { type SwitchSpacePayload } from "../../dispatcher/payloads/SwitchSpacePayload";
import LeftPanelLiveShareWarning from "../views/beacon/LeftPanelLiveShareWarning";
import HomePage from "./HomePage";
import { PipContainer } from "./PipContainer";
import { monitorSyncedPushRules } from "../../utils/pushRules/monitorSyncedPushRules";
import { type ConfigOptions } from "../../SdkConfig";
import { MatrixClientContextProvider } from "./MatrixClientContextProvider";
@@ -855,7 +854,8 @@ class LoggedInView extends React.Component<IProps, IState> {
<ToastContainer />
<div className={bodyClasses}>{content}</div>
</div>
<PipContainer />
{/* Blap: no floating PiP window — an active call keeps running hidden
(PersistedElement) and reappears when its room is reopened. */}
<NonUrgentToastContainer />
{audioFeedArraysForCalls}
</MatrixClientContextProvider>