From 07a62257b1bfddce58f559617c18b82fedc51a61 Mon Sep 17 00:00:00 2001 From: Mohammad Siddiqui Date: Thu, 26 Oct 2023 04:31:24 +0100 Subject: [PATCH] fix disable click toggle if hover is enabled --- packages/masc/src/components/popper/s-popper.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/masc/src/components/popper/s-popper.vue b/packages/masc/src/components/popper/s-popper.vue index f970f99..1a0745a 100644 --- a/packages/masc/src/components/popper/s-popper.vue +++ b/packages/masc/src/components/popper/s-popper.vue @@ -178,6 +178,7 @@ const closePopper = async () => { }; const togglePopper = () => { + if (props.hover) return; isOpen.value ? closePopper() : openPopper(); };