We have the following html template using the accordion component:
...
<accordion close-others="false">
<accordion-group is-open="true" ng-repeat="project in projects" heading="{{project}}">
<project-component project-name="{{project}}" project-queues="queuesForProject(project)"...
<accordion-group is-open="true" ng-repeat="project in projects" heading="{{project}}">
...
The component managing the view above manages the projects field:
@Component(selector: 'queues-component', templateUrl: 'queuesView.html', useShadowDom: false)
class QueuesComponent implements ScopeAware, AttachAware, DetachAware {
...
List<String> projects = [];
...
Whenever projects list changes (e.g. a new element is added to the list), the accordion-group is not redrawn. However, if we get rid of the accordion and we put the ng-repeat on a div, any change on the projects list is taken into account by the view.
Have you guys noticed any similar behaviour? any clue what are we doing wrong here?
We have the following html template using the
accordioncomponent:The component managing the view above manages the
projectsfield:Whenever
projectslist changes (e.g. a new element is added to the list), theaccordion-groupis not redrawn. However, if we get rid of theaccordionand we put theng-repeaton adiv, any change on theprojectslist is taken into account by the view.Have you guys noticed any similar behaviour? any clue what are we doing wrong here?