Skip to content

Commit

Permalink
fix disable click toggle if hover is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
siddiquipro committed Oct 26, 2023
1 parent 306ee88 commit 07a6225
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/masc/src/components/popper/s-popper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ const closePopper = async () => {
};
const togglePopper = () => {
if (props.hover) return;
isOpen.value ? closePopper() : openPopper();
};
Expand Down

0 comments on commit 07a6225

Please sign in to comment.