mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 00:11:43 +02:00
Merge pull request #6632 from matrix-org/palid/feature/fix-stuck-jitsi-pip
Fix jitsi widget sometimes being permanently stuck in the bottom-right corner
This commit is contained in:
commit
603f992100
@ -218,6 +218,7 @@ export default class AppTile extends React.Component {
|
|||||||
|
|
||||||
// Delete the widget from the persisted store for good measure.
|
// Delete the widget from the persisted store for good measure.
|
||||||
PersistedElement.destroyElement(this._persistKey);
|
PersistedElement.destroyElement(this._persistKey);
|
||||||
|
ActiveWidgetStore.destroyPersistentWidget(this.props.app.id);
|
||||||
|
|
||||||
if (this._sgWidget) this._sgWidget.stop({ forceDestroy: true });
|
if (this._sgWidget) this._sgWidget.stop({ forceDestroy: true });
|
||||||
}
|
}
|
||||||
@ -307,7 +308,6 @@ export default class AppTile extends React.Component {
|
|||||||
if (this.iframe) {
|
if (this.iframe) {
|
||||||
// Reload iframe
|
// Reload iframe
|
||||||
this.iframe.src = this._sgWidget.embedUrl;
|
this.iframe.src = this._sgWidget.embedUrl;
|
||||||
this.setState({});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user