diff --git a/res/css/structures/_LeftPanel.scss b/res/css/structures/_LeftPanel.scss index 5603de18d8..da17e5f1f9 100644 --- a/res/css/structures/_LeftPanel.scss +++ b/res/css/structures/_LeftPanel.scss @@ -50,6 +50,7 @@ $roomListCollapsedWidth: 68px; contain: content; position: relative; flex-grow: 1; + overflow: hidden; // Note: The 'room list' in this context is actually everything that isn't the tag // panel, such as the menu options, breadcrumbs, filtering, etc diff --git a/src/resizer/resizer.ts b/src/resizer/resizer.ts index 92f458e7c7..19af425b8b 100644 --- a/src/resizer/resizer.ts +++ b/src/resizer/resizer.ts @@ -78,7 +78,7 @@ export default class Resizer { } public attach() { - const attachment = this?.config?.handler.parentElement ?? this.container; + const attachment = this?.config?.handler?.parentElement ?? this.container; attachment.addEventListener("mousedown", this.onMouseDown, false); window.addEventListener("resize", this.onResize); }