Skip to content

Commit

Permalink
Merge pull request #74 from sn4dder/feature/dropdown-in-burger-menu
Browse files Browse the repository at this point in the history
fix(node): expand dropdown in burger menu when clicked
  • Loading branch information
crsten authored Jan 5, 2024
2 parents b2d6302 + 55cecec commit 4af452f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/node.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
class="elder__navigation-dropdown"
>
<template #default>
<action-component ref="target" v-bind="item" @click="$emit('click')">
<action-component
ref="target"
v-bind="item"
@click="isResponsive ? (showSubitems = !showSubitems) : $emit('click')"
>
<slot></slot>
</action-component>
<div
Expand Down

0 comments on commit 4af452f

Please sign in to comment.