logging to jsc heap capture expand contract
Reviewed By: bnham Differential Revision: D3757560 fbshipit-source-id: 00046797b17c9fa9e37dab597f11d9db7f7bd08a
This commit is contained in:
parent
e193aea2f4
commit
8af84c6788
|
@ -103,6 +103,7 @@ newCursor-=row.height-1;
|
|||
}
|
||||
this.state.aggrow.contract(row);
|
||||
this.setState({cursor:newCursor});
|
||||
console.log('-'+row.top);
|
||||
}},{key:'_expandRow',value:function _expandRow(
|
||||
|
||||
row){
|
||||
|
@ -112,6 +113,7 @@ if(newCursor>row.top){// below expanded section
|
|||
newCursor+=row.height-1;
|
||||
}
|
||||
this.setState({cursor:newCursor});
|
||||
console.log('+'+row.top);
|
||||
}},{key:'_keepCursorInViewport',value:function _keepCursorInViewport()
|
||||
|
||||
|
||||
|
|
|
@ -103,6 +103,7 @@ class Table extends React.Component { // eslint-disable-line no-unused-vars
|
|||
}
|
||||
this.state.aggrow.contract(row);
|
||||
this.setState({cursor: newCursor});
|
||||
console.log('-' + row.top);
|
||||
}
|
||||
|
||||
_expandRow(row) {
|
||||
|
@ -112,6 +113,7 @@ class Table extends React.Component { // eslint-disable-line no-unused-vars
|
|||
newCursor += row.height - 1;
|
||||
}
|
||||
this.setState({cursor: newCursor});
|
||||
console.log('+' + row.top);
|
||||
}
|
||||
|
||||
_scrollDiv: null;
|
||||
|
|
Loading…
Reference in New Issue