commit
20b79de43e
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@
|
||||||
if (this.trigger !== 'click') {
|
if (this.trigger !== 'click') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.currentVisible = !this.currentVisible;
|
// #661
|
||||||
|
const $parent = this.hasParent();
|
||||||
|
if (!$parent) this.currentVisible = !this.currentVisible;
|
||||||
},
|
},
|
||||||
handleRightClick () {
|
handleRightClick () {
|
||||||
if (this.trigger === 'custom') return false;
|
if (this.trigger === 'custom') return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue