We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea0fce commit 3d97f47Copy full SHA for 3d97f47
projects/coreui-angular/src/lib/sidebar/sidebar-nav/sidebar-nav.component.ts
@@ -184,6 +184,10 @@ export class SidebarNavGroupComponent implements OnInit, OnDestroy {
184
}
185
186
onAnimationDone($event: AnimationEvent) {
187
+ if ($event.toState === 'open') {
188
+ const host = this.sidebarNav.nativeElement;
189
+ this.renderer.setStyle(host, 'height', 'auto');
190
+ }
191
if ($event.toState === 'closed') {
192
setTimeout(() => {
193
this.display = null;
0 commit comments