-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: add new types of events #27
Comments
Now we are supporting only touch-or-scroll-blocking events, because that's where the problem exists. |
Most probably the same gains - performance improvements. And I think the library can be easily modified to add new events. I can even prepare a PR for this if interested. |
Actually now the most important would be to create some perf which shows any performance gain using passive approach. If you can prepare that, I'll make a change to library immediately. |
I'll investigate that. |
I created a test with many elements all with transitions and many iterations. The results seems to be inconclusive. The difference is too low between passive and non-passive to say that there's a performance penalty for non-passive events for Is there a similar test for scroll events? |
Is it possible to add the passive flag by default to other events like "animationend" or "transitionend"?
The text was updated successfully, but these errors were encountered: