Skip to content

Commit

Permalink
fix(theme): close dropdown menus after an item is clicked (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuixinwang authored Aug 6, 2023
1 parent 063b0e5 commit e54eea3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/client/theme-default/components/VPFlyout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ function onBlur() {
transform: translateY(0);
}
.button[aria-expanded="false"] + .menu {
opacity: 0;
visibility: hidden;
transform: translateY(0);
}
.button {
display: flex;
align-items: center;
Expand Down

0 comments on commit e54eea3

Please sign in to comment.