mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
logging to jsc heap capture expand contract
Reviewed By: bnham Differential Revision: D3757560 fbshipit-source-id: 00046797b17c9fa9e37dab597f11d9db7f7bd08a
This commit is contained in:
committed by
Facebook Github Bot
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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user