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
Chrome DevTools suggest marking the eventlisteners on touch, scroll etc. events as passive, as long as the listeners don't need to cancel the event, to improve performance. I would think that doing so might slightly improve performance and would at least silence the devtools complaining.
The text was updated successfully, but these errors were encountered:
I implemented the passive event listeners 0xhtml@5d7883c and the chrome devtools no longer complain. However, there seems to be a bug in Firefox with the non-passive touchmove event listener that is registered inside the now passive touchstart event listener: As far as I can tell is the cancellation of scrolling is not working even though the touchmove event is registered as non-passive and therefore should be cancelable. Works in chrome though.
Chrome DevTools suggest marking the eventlisteners on touch, scroll etc. events as passive, as long as the listeners don't need to cancel the event, to improve performance. I would think that doing so might slightly improve performance and would at least silence the devtools complaining.
The text was updated successfully, but these errors were encountered: