From 3e25a5e792e9a8bfa1f73a68474a4681d20d17bc Mon Sep 17 00:00:00 2001 From: diondiondion Date: Tue, 26 May 2026 16:59:07 +0200 Subject: [PATCH] [Glitch] Fix advanced UI column crashing in development Port 1962e4743c3786b3694a802547271a6046da4c9a to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/components/scrollable_list/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/scrollable_list/index.jsx b/app/javascript/flavours/glitch/components/scrollable_list/index.jsx index 7203bad886..14f1ee57ab 100644 --- a/app/javascript/flavours/glitch/components/scrollable_list/index.jsx +++ b/app/javascript/flavours/glitch/components/scrollable_list/index.jsx @@ -285,7 +285,7 @@ class ScrollableList extends PureComponent { if (this.props.bindToDocument) { document.removeEventListener('scroll', this.handleScroll); document.removeEventListener('wheel', this.handleWheel, listenerOptions); - } else { + } else if (this.node) { this.node.removeEventListener('scroll', this.handleScroll); this.node.removeEventListener('wheel', this.handleWheel, listenerOptions); }