Skip to content

Components created by VirtualScroll are outside of the Angular Zone #10451

@frederikschubert

Description

@frederikschubert

Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

Components that are created by the VirtualScroll, are running outside the Angular zone.

Expected behavior:

The Components should be created in the Angular zone. Otherwise the change detection does not work properly.

Steps to reproduce:

http://plnkr.co/edit/cgtc3d?p=preview

Other information:

This should be wrapped with NgZone#run.

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

ionic-angular@2.0.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions