File tree Expand file tree Collapse file tree 1 file changed +26
-29
lines changed Expand file tree Collapse file tree 1 file changed +26
-29
lines changed Original file line number Diff line number Diff line change @@ -66,35 +66,32 @@ const Menu = ({ sections, ...props }: NavMenuProps) => {
66
66
</ Text >
67
67
</ Button >
68
68
</ NavigationMenu . Trigger >
69
- < AnimatePresence >
70
- < NavigationMenu . Content asChild >
71
- { /**
72
- * This is the CONTAINER for all three menu levels
73
- * This renders inside the NavigationMenu.Viewport component
74
- */ }
75
- < Box
76
- as = { motion . div }
77
- key = { sectionKey + "-content" }
78
- variants = { containerVariants }
79
- initial = { false }
80
- animate = { isOpen ? "open" : "closed" }
81
- position = "absolute"
82
- top = "19"
83
- insetInline = "0"
84
- shadow = "md"
85
- border = "1px"
86
- borderColor = { menuColors . stroke }
87
- bg = { menuColors . lvl [ 1 ] . background }
88
- >
89
- < SubMenu
90
- lvl = { 1 }
91
- items = { items }
92
- activeSection = { activeSection }
93
- onClose = { onClose }
94
- />
95
- </ Box >
96
- </ NavigationMenu . Content >
97
- </ AnimatePresence >
69
+ < NavigationMenu . Content asChild >
70
+ { /**
71
+ * This is the CONTAINER for all three menu levels
72
+ * This renders inside the NavigationMenu.Viewport component
73
+ */ }
74
+ < Box
75
+ as = { motion . div }
76
+ variants = { containerVariants }
77
+ initial = { false }
78
+ animate = { isOpen ? "open" : "closed" }
79
+ position = "absolute"
80
+ top = "19"
81
+ insetInline = "0"
82
+ shadow = "md"
83
+ border = "1px"
84
+ borderColor = { menuColors . stroke }
85
+ bg = { menuColors . lvl [ 1 ] . background }
86
+ >
87
+ < SubMenu
88
+ lvl = { 1 }
89
+ items = { items }
90
+ activeSection = { activeSection }
91
+ onClose = { onClose }
92
+ />
93
+ </ Box >
94
+ </ NavigationMenu . Content >
98
95
</ NavigationMenu . Item >
99
96
)
100
97
} ) }
You can’t perform that action at this time.
0 commit comments