logging to jsc heap capture expand contract

Reviewed By: bnham

Differential Revision: D3757560

fbshipit-source-id: 00046797b17c9fa9e37dab597f11d9db7f7bd08a
This commit is contained in:
Charles Dick 2016-09-16 02:30:30 -07:00 committed by Facebook Github Bot
parent e193aea2f4
commit 8af84c6788
2 changed files with 4 additions and 0 deletions

View File

@ -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()

View File

@ -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;