fix(deployment): clear scroll debounce on teardown

This commit is contained in:
Andras Bacsai 2026-05-26 14:55:13 +02:00
parent dcaaf2ed68
commit 7f35a2d98e

View file

@ -40,6 +40,10 @@
clearTimeout(this.scrollTimeout); clearTimeout(this.scrollTimeout);
this.scrollTimeout = null; this.scrollTimeout = null;
} }
if (this.scrollDebounce) {
clearTimeout(this.scrollDebounce);
this.scrollDebounce = null;
}
}, },
disableFollow() { disableFollow() {
if (!this.alwaysScroll) return; if (!this.alwaysScroll) return;