also remove disconnecting from ResizeObserver
This commit is contained in:
parent
96b1b723cd
commit
10496cd4e8
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue