Skip to content

Commit

Permalink
Merge pull request #15675 from LoaderB0T/master
Browse files Browse the repository at this point in the history
fix(accordion): updateActiveIndex does not update _activeIndex
  • Loading branch information
cetincakiroglu authored May 30, 2024
2 parents fad41b6 + 129563f commit 4052978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/accordion/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ export class Accordion implements BlockableUI, AfterContentInit, OnDestroy {
}
});
this.preventActiveIndexPropagation = true;
this._activeIndex = index;
this.activeIndexChange.emit(index as number[] | number);
}

Expand Down

0 comments on commit 4052978

Please sign in to comment.