-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
virtual-scroller/src/virtual-scroller.js
Lines 264 to 277 in 8a53594
this.addEventListener('scroll', this.#handleScroll.bind(this)); | |
if (this.enableResizeObserver) { | |
this.#connectResizeObserver(); | |
} | |
if (this.#initialized) { | |
this.#update(); | |
} | |
} | |
disconnectedCallback() { | |
this.removeEventListener('scroll', this.#handleScroll); | |
this.#disconnectResizeObserver(); | |
} |
removeEventListener
on LN275 is not using the bound handler reference at LN264.
Update to store a reference to the scroll
event handler and use that to remove the handler on unmount.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers