Skip to content

Commit

Permalink
fix: allow clicking of interactive elements below NavigationMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
wp-aberg committed Jul 26, 2023
1 parent 9143a5b commit a3de5ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/navigation-menu/src/NavigationMenuContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const StyledNavigationMenuContent = styled(NavigationMenuPrimitive.Content, {
maxHeight: "inherit",
overflow: "auto",
padding: theme.space["050"],
visibility: "hidden",
display: "none",
"&.wpds-nav-menu-content-enter": {
visibility: "visible",
display: "block",
opacity: 0,
transform: "translate(var(--initialposition))",
},
Expand All @@ -32,10 +32,10 @@ const StyledNavigationMenuContent = styled(NavigationMenuPrimitive.Content, {
transition: `all ${theme.transitions.fast} ${theme.transitions.inOut}`,
},
"&.wpds-nav-menu-content-enter-done": {
visibility: "visible",
display: "block",
},
"&.wpds-nav-menu-content-exit": {
visibility: "visible",
display: "block",
opacity: 1,
transform: "translate(0)",
},
Expand All @@ -45,7 +45,7 @@ const StyledNavigationMenuContent = styled(NavigationMenuPrimitive.Content, {
transition: `all ${theme.transitions.fast} ${theme.transitions.inOut}`,
},
"&.wpds-nav-menu-content-exit-done": {
visibility: "hidden",
display: "none",
},
});

Expand Down

4 comments on commit a3de5ad

@vercel
Copy link

@vercel vercel bot commented on a3de5ad Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wpds-ui-kit – ./build.washingtonpost.com

wpds-ui-kit-git-main.preview.now.washingtonpost.com
wpds-ui-kit.preview.now.washingtonpost.com
build.washingtonpost.com

@vercel
Copy link

@vercel vercel bot commented on a3de5ad Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wpds-ui-kit-vitejs-example – ./apps/vite-project

wpds-ui-kit-vitejs-example-git-main.preview.now.washingtonpost.com
wpds-ui-kit-vitejs-example.preview.now.washingtonpost.com

@vercel
Copy link

@vercel vercel bot commented on a3de5ad Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on a3de5ad Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wpds-ui-kit-storybook – ./

wpds-ui-kit-storybook.preview.now.washingtonpost.com
wpds-ui-kit-storybook-git-main.preview.now.washingtonpost.com

Please sign in to comment.