We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 545c3c4 commit ae7f1c0Copy full SHA for ae7f1c0
packages/virtual-core/src/index.ts
@@ -814,8 +814,7 @@ export class Virtualizer<
814
if (
815
this.shouldAdjustScrollPositionOnItemSizeChange !== undefined
816
? this.shouldAdjustScrollPositionOnItemSizeChange(item, delta, this)
817
- : this.scrollDirection === 'backward' &&
818
- item.start < this.getScrollOffset() + this.scrollAdjustments
+ : item.start < this.getScrollOffset() + this.scrollAdjustments
819
) {
820
if (process.env.NODE_ENV !== 'production' && this.options.debug) {
821
console.info('correction', delta)
0 commit comments