Fixed #3750 - SplitButton/OverlayPanel: OverlayPanel won't open from default call by SplitButton
parent
bdd7c1cd43
commit
09a2f9c793
|
@ -123,9 +123,11 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onDefaultButtonClick(event) {
|
onDefaultButtonClick(event) {
|
||||||
this.$refs.menu.hide(event);
|
if (this.isExpanded) {
|
||||||
|
this.$refs.menu.hide(event);
|
||||||
|
}
|
||||||
|
|
||||||
this.$emit('click');
|
this.$emit('click', event);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
Loading…
Reference in New Issue