Skip to content

Fix sticky scroll hover listeners piling up#260020

Merged
aiday-mar merged 2 commits intomicrosoft:mainfrom
aryla:fix-sticky-scroll-event-handlers
Dec 16, 2025
Merged

Fix sticky scroll hover listeners piling up#260020
aiday-mar merged 2 commits intomicrosoft:mainfrom
aryla:fix-sticky-scroll-event-handlers

Conversation

@aryla
Copy link
Contributor

@aryla aryla commented Aug 6, 2025

The StickyScrollWidget adds new mouse enter/exit listeners on every render without clearing the old ones so the listeners keep accumulating. Rendering gets very slow once the number of listeners reaches 100000. Fixed by clearing the existing listeners before adding new ones.

The StickyScrollWidget adds new mouse enter/exit listeners on every
render without clearing the old ones so the listeners keep accumulating.
Rendering gets very slow once the number of listeners reaches 100000.
Fixed by clearing the existing listeners before adding new ones.
@aiday-mar aiday-mar enabled auto-merge (squash) December 16, 2025 12:01
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 16, 2025
@aiday-mar aiday-mar merged commit 07c8caa into microsoft:main Dec 16, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jan 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants