diff --git a/local-cli/server/middleware/heapCapture/out/table.js b/local-cli/server/middleware/heapCapture/out/table.js index 1146cf191..f480eb7c4 100644 --- a/local-cli/server/middleware/heapCapture/out/table.js +++ b/local-cli/server/middleware/heapCapture/out/table.js @@ -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() diff --git a/local-cli/server/middleware/heapCapture/src/table.js b/local-cli/server/middleware/heapCapture/src/table.js index 86b597b6d..b0ed0f441 100644 --- a/local-cli/server/middleware/heapCapture/src/table.js +++ b/local-cli/server/middleware/heapCapture/src/table.js @@ -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;