fix(module: menu): Nav Menu Collapse Unresponsive (#1144)

This commit is contained in:
笨木头 2021-02-19 11:35:06 +08:00 committed by GitHub
parent 597133363a
commit febccb3a05

View File

@ -78,6 +78,7 @@ namespace AntDesign
.Get(() => $"{RootMenu?.PrefixCls}-{RootMenu?.Theme}")
.Get(() => $"{RootMenu?.PrefixCls}-{(RootMenu?.InternalMode == MenuMode.Horizontal ? MenuMode.Vertical : RootMenu?.InternalMode)}")
//.If($"{RootMenu.PrefixCls}-submenu-popup", () => RootMenu.InternalMode != MenuMode.Inline)
.If($"{RootMenu?.PrefixCls}-hidden", () => RootMenu?.InternalMode == MenuMode.Inline && !IsOpen)
;
if (RootMenu?.InternalMode != MenuMode.Inline && _overlayTrigger != null)