Skip to content

Commit

Permalink
Fix small review remark
Browse files Browse the repository at this point in the history
  • Loading branch information
daniela-buzatu committed Dec 5, 2023
1 parent 08a6595 commit 61afc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const slice = createSlice({
.getInternal()
.rowOffsetIntervalTree.sumUntil(state.firstRowIndex) -
state.firstRowOffset;
const scrollAnchor = scrollTo(state, currentScrollY);
const scrollAnchor = scrollTo(state, currentScrollY, true);
computeRenderedRows(state, scrollAnchor);
},
},
Expand Down

0 comments on commit 61afc4a

Please sign in to comment.