You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been doing a lot of performance profiling and the scroll does seem a bit smoother when using passive event listeners. Marking an event listener as passive just means that you are promising not to cancel the event, and as best I can tell this component never does so.
Does anyone know if there is a good reason not to do this that is eluding me? If not I'd be happy to contribute a PR.
The text was updated successfully, but these errors were encountered:
Description
I've been doing a lot of performance profiling and the scroll does seem a bit smoother when using passive event listeners. Marking an event listener as passive just means that you are promising not to cancel the event, and as best I can tell this component never does so.
Does anyone know if there is a good reason not to do this that is eluding me? If not I'd be happy to contribute a PR.
The text was updated successfully, but these errors were encountered: