We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1d5a15 commit 26c2f7dCopy full SHA for 26c2f7d
src/components/dropdown/CDropdown.vue
@@ -104,7 +104,7 @@ export default {
104
}
105
},
106
mounted () {
107
- this.$on('dropdown-item-click', this.hide)
+ this.$on('dropdown-close', this.hide)
108
109
methods: {
110
checkClick (e) {
src/components/dropdown/CDropdownItem.vue
@@ -11,7 +11,7 @@ export default {
11
props: this._props,
12
staticClass: 'dropdown-item',
13
attrs: { role: 'menuitem' },
14
- on: { click: () => this.$parent.$emit('dropdown-item-click') }
+ on: { click: () => this.$parent.$emit('dropdown-close') }
15
16
this.$slots.default
17
)
0 commit comments