diff --git a/src/components/CurvedBottomNavigation.vue b/src/components/CurvedBottomNavigation.vue index 0dfa239..bdc12e9 100644 --- a/src/components/CurvedBottomNavigation.vue +++ b/src/components/CurvedBottomNavigation.vue @@ -245,7 +245,7 @@ function cssLoader() { head.appendChild(style); } function handleLabelClick(button: CurvedOption) { - if (!showable.value || button.isActive) { + if ((!showable.value || button.isActive) && hasChild(button)) { toggleClass(); }