Skip to content

Commit 29827df

Browse files
fix(module:drawer): emit nzVisibleChange when close on navigation (#8850)
1 parent 79e8d5a commit 29827df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/drawer/drawer.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ export class NzDrawerComponent<T extends {} = NzSafeAny, R = NzSafeAny, D extend
472472
.detachments()
473473
.pipe(takeUntil(this.destroy$))
474474
.subscribe(() => {
475+
this.close();
475476
this.disposeOverlay();
476477
});
477478
}

0 commit comments

Comments
 (0)