-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Bug: VirtualScroll escapes NgZone #10832
Comments
Duplicate of #10451 |
can you provide an example that shows something not actually working because of this? |
The change detection does not work as expected for components that are created outside the angular zone. Events and changes of properties that are decorated with |
The example shows that if you display a child page by clicking on a virtual scroll item, it will not be in Angular zone. Which means that change detection will not function at all. I haven't looked at the source code of Virtual Scroll, but I'm guessing there's a piece of code there that's causing the click event handler to be invoked outside of Angular zone. |
I'm going to close this as a duplicate of #10451 but please feel free to continue the discussion here. Thanks! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Ionic version: 2.x
I'm submitting a ... bug report
Current behavior:
Opening a page from
VirtualScroll
causes the child page to escape NgZone.Steps to reproduce:
virtualScroll
itemSee plunker example here: http://plnkr.co/edit/upZqGYgmYjf0LIJbTeQY?p=preview
The text was updated successfully, but these errors were encountered: