We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0575725 commit 6285387Copy full SHA for 6285387
packages/primitives/navigation-menu/src/navigation-menu-viewport.directive.ts
@@ -347,6 +347,10 @@ export class RdxNavigationMenuViewportDirective implements OnInit, OnDestroy {
347
348
node.transitionSubscription = null;
349
this._leavingContentNode.set(null);
350
+
351
+ if (!this._activeContentNode() && !this.forceMount()) {
352
+ this._viewportSize.set(null);
353
+ }
354
} else {
355
// if this node is NOT the one currently marked as leaving, it means
356
// a new transition started before this one finished. Just clean up DOM/Sub.
0 commit comments