mirror of
https://github.com/vector-im/element-web.git
synced 2026-02-17 21:52:28 +01:00
also remove disconnecting from ResizeObserver
This commit is contained in:
parent
96b1b723cd
commit
10496cd4e8
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user