File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ export default {
136136 : Promise . resolve ( )
137137 } ,
138138 blurHide ( ) {
139+ this . __clearSearch ( )
139140 setTimeout ( ( ) => this . hide ( ) , 300 )
140141 } ,
141142 __clearSearch ( ) {
Original file line number Diff line number Diff line change @@ -43,8 +43,10 @@ export default {
4343 mounted ( ) {
4444 this . target = this . $refs . popover . $el . parentNode
4545 this . target . addEventListener ( 'contextmenu' , this . __show )
46+ this . target . addEventListener ( 'click' , this . hide )
4647 } ,
4748 beforeDestroy ( ) {
4849 this . target . removeEventListener ( 'contexmenu' , this . __show )
50+ this . target . removeEventListener ( 'click' , this . hide )
4951 }
5052}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export default {
7474 this . $nextTick ( ( ) => {
7575 this . anchorEl = this . $el . parentNode
7676 this . anchorEl . removeChild ( this . $el )
77- if ( this . anchorEl . classList . contains ( 'q-btn-inner' ) ) {
77+ if ( this . anchorEl . classList . contains ( 'q-btn-inner' ) || this . anchorEl . classList . contains ( 'q-if-inner' ) ) {
7878 this . anchorEl = this . anchorEl . parentNode
7979 }
8080 if ( this . anchorClick ) {
You can’t perform that action at this time.
0 commit comments