Fix advanced UI column crashing in development (#39171)

This commit is contained in:
diondiondion authored and GitHub committed 2026-05-26 14:59:07 +00:00
1 parent ceab04a1fd
commit 1962e4743c
1 file changed
+1 -1
@@ -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);
}