mirror of https://github.com/vector-im/riot-web
also remove disconnecting from ResizeObserver
parent
96b1b723cd
commit
10496cd4e8
|
@ -178,10 +178,6 @@ module.exports = React.createClass({
|
||||||
//
|
//
|
||||||
// (We could use isMounted(), but facebook have deprecated that.)
|
// (We could use isMounted(), but facebook have deprecated that.)
|
||||||
this.unmounted = true;
|
this.unmounted = true;
|
||||||
if (this._timelineSizeObserver) {
|
|
||||||
this._timelineSizeObserver.disconnect();
|
|
||||||
this._timelineSizeObserver = null;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onScroll: function(ev) {
|
onScroll: function(ev) {
|
||||||
|
|
Loading…
Reference in New Issue