Skip to content

Commit

Permalink
feat: remove delay from navigation menu
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Jun 14, 2024
1 parent c323596 commit 925ba1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/navigation/nav-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Component = ({
}

return (
<NavigationMenu>
<NavigationMenu delayDuration={0}>
<NavigationMenuList>
<NavigationMenuItem>
<NavigationMenuTrigger className="max-w-32 sm:max-w-none">
Expand Down
10 changes: 5 additions & 5 deletions components/ui/navigation-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ NavigationMenuIndicator.displayName =
NavigationMenuPrimitive.Indicator.displayName;

export {
navigationMenuTriggerStyle,
NavigationMenu,
NavigationMenuList,
NavigationMenuItem,
NavigationMenuContent,
NavigationMenuTrigger,
NavigationMenuLink,
NavigationMenuIndicator,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuList,
NavigationMenuTrigger,
NavigationMenuViewport,
navigationMenuTriggerStyle,
};

0 comments on commit 925ba1a

Please sign in to comment.