-
Notifications
You must be signed in to change notification settings - Fork 379
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
Google chrome violations related to gridster2 #420
Comments
Yes, this definitely should be added. If you would make a pull request then I can add it in for the next release. |
Apparently angular doesn't allow to create passive event listeners with renderer yet. Issue #8866 on the angular repo is currently discussing a possible implementation. |
This is quite an old issue, but it still affects me sometimes. |
So I tried the Guess I'm stuck with the |
(window as any)['__zone_symbol__PASSIVE_EVENTS'] = ['touchstart', 'touchmove'];
import './zone-flags';
import 'zone.js'; // Included with Angular CLI.
|
Hello,
Recently I've been getting the following violations on my console:
Tracking the message, I've ended up finding out that they're caused by my gridster item. I took some time to read about these violations and found out they've been recently implemented in Google Chrome. Checking out the gridster demo I also get these violations.
I've seen a possible solution by adding the {passive: true} option on the event listener declaration, do you think this should be a fix to the next gridster release? If we agree to this I can make the change.
The text was updated successfully, but these errors were encountered: