From 10496cd4e8339ae30ee3e2b499b52b6d4ea4d0fa Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 11 Mar 2019 10:32:30 +0100 Subject: [PATCH] also remove disconnecting from ResizeObserver --- src/components/structures/ScrollPanel.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/structures/ScrollPanel.js b/src/components/structures/ScrollPanel.js index 06c925e69e..ee4045c91e 100644 --- a/src/components/structures/ScrollPanel.js +++ b/src/components/structures/ScrollPanel.js @@ -178,10 +178,6 @@ module.exports = React.createClass({ // // (We could use isMounted(), but facebook have deprecated that.) this.unmounted = true; - if (this._timelineSizeObserver) { - this._timelineSizeObserver.disconnect(); - this._timelineSizeObserver = null; - } }, onScroll: function(ev) {