From ed895f5881606b11bf49189b9c0fce5c03ed8796 Mon Sep 17 00:00:00 2001 From: Timo <16718859+toger5@users.noreply.github.com> Date: Mon, 13 Dec 2021 17:46:50 +0100 Subject: [PATCH] Always unhide widgets on layout change (pinning a widget) (#7299) --- src/components/structures/RoomView.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/structures/RoomView.tsx b/src/components/structures/RoomView.tsx index 979893cc3d..2f1ee3400e 100644 --- a/src/components/structures/RoomView.tsx +++ b/src/components/structures/RoomView.tsx @@ -330,6 +330,10 @@ export class RoomView extends React.Component { private onWidgetLayoutChange = () => { if (!this.state.room) return; + dis.dispatch({ + action: "appsDrawer", + show: true, + }); if (WidgetLayoutStore.instance.hasMaximisedWidget(this.state.room)) { // Show chat in right panel when a widget is maximised dis.dispatch({