Skip to content

Conversation

jsphstls
Copy link

@jsphstls jsphstls commented Jun 5, 2025

What:

Closes #1650

Why:

Resolve console warnings in Chrome and potentially improve performance.

How:

Add { passive: true } to addEventListenter and removeEventListener calls.

Checklist:

  • Documentation
  • Tests
  • TypeScript Types
  • Flow Types
  • Ready to be merged

These changes assume that existing tests will cover any possible regression. The behavior is not expected to change.

@jsphstls jsphstls marked this pull request as ready for review June 5, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider using passive event listeners
1 participant