Skip to content

Commit

Permalink
FIXED: stupid mistake in last pull_request, brings back scrollToPosit…
Browse files Browse the repository at this point in the history
…ion after changing tab
  • Loading branch information
warpdesign committed Aug 27, 2019
1 parent 6bfc712 commit 09ac587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FileTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class FileTableClass extends React.Component<IProps, IState> {
// eg. files have been deleted, or selected item has been renamed,
// so that using previous scrollTop would hide the selected item
// if (/*scrollTop !== null && scrollTop > -1*/1) {
// this.tableRef.current.scrollToPosition(this.cache.scrollTop);
this.tableRef.current.scrollToPosition(this.cache.scrollTop);
// }
}

Expand Down

0 comments on commit 09ac587

Please sign in to comment.