Relative Content

Tag Archive for angularngforangular-bootstrap

ngFor duplicating output data

I have an NG Bootstrap Accordion element that, when open, displays a list of contact cards. For some reason the list of contacts output by the ngFor is duplicated and renders twice. The data is not duplicated (checked both the data source and with a debugger). The data is static and not changing. The component inputs for this component are also not changing so its not a duplication of the input.

Why is this *ngFor loop rendering the data twice?

I have an NG Bootstrap Accordion element that, when open, displays a list of contact cards. For some reason the list of contacts output by the ngFor is duplicated and renders twice. The data is not duplicated (checked both the data source and with a debugger).