Skip to content

Commit 18db9ed

Browse files
JacerOmriflovilmart
authored andcommitted
fix table scrolling (#671)
1 parent 3118cd3 commit 18db9ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dashboard/Data/Browser/BrowserTable.react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default class BrowserTable extends React.Component {
7676
}
7777
if (this.state.offset !== offset) {
7878
this.setState({ offset });
79+
this.refs.table.scrollTop = rowsAbove * ROW_HEIGHT;
7980
}
8081
if (this.props.maxFetched - offset < 100) {
8182
this.props.fetchNextPage();

0 commit comments

Comments
 (0)