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 28296e8 commit c06c1a1Copy full SHA for c06c1a1
1 file changed
packages/virtual-core/src/index.ts
@@ -573,7 +573,10 @@ export class Virtualizer<
573
574
private rafId: number | null = null
575
private scheduleScrollReconcile() {
576
- if (!this.targetWindow) return
+ if (!this.targetWindow) {
577
+ this.scrollState = null
578
+ return
579
+ }
580
if (this.rafId != null) return
581
this.rafId = this.targetWindow.requestAnimationFrame(() => {
582
this.rafId = null
0 commit comments