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 2501ea1 commit e105925Copy full SHA for e105925
1 file changed
packages/virtual-core/src/index.ts
@@ -978,7 +978,7 @@ export class Virtualizer<
978
979
const offsetInfo = this.getOffsetForIndex(index, currentAlign)
980
if (!offsetInfo) {
981
- scheduleRetry(currentAlign)
+ console.warn('Failed to get offset for index:', index)
982
return
983
}
984
const [offset, align] = offsetInfo
@@ -988,7 +988,7 @@ export class Virtualizer<
988
const currentOffset = this.getScrollOffset()
989
const afterInfo = this.getOffsetForIndex(index, align)
990
if (!afterInfo) {
991
- scheduleRetry(align)
992
993
994
0 commit comments