File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
packages/vuetify/src/components Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export default {
144
144
// If the dialog content contains
145
145
// the click event, or if the
146
146
// dialog is not active
147
- if ( ! this . isActive || this . $refs . content . contains ( e . target ) ) return false
147
+ if ( this . _isDestroyed || ! this . isActive || this . $refs . content . contains ( e . target ) ) return false
148
148
149
149
// If we made it here, the click is outside
150
150
// and is active. If persistent, and the
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ export default Vue.extend({
199
199
} ,
200
200
closeConditional ( e ) {
201
201
return this . isActive &&
202
+ ! this . _isDestroyed &&
202
203
this . closeOnClick &&
203
204
! this . $refs . content . contains ( e . target )
204
205
} ,
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ export default mixins(
256
256
}
257
257
} ,
258
258
closeConditional ( ) {
259
- return this . isActive && this . reactsToClick
259
+ return this . isActive && ! this . _isDestroyed && this . reactsToClick
260
260
} ,
261
261
genDirectives ( ) {
262
262
const directives = [ {
Original file line number Diff line number Diff line change @@ -275,6 +275,8 @@ export default VTextField.extend({
275
275
} ,
276
276
closeConditional ( e ) {
277
277
return (
278
+ ! this . _isDestroyed &&
279
+
278
280
// Click originates from outside the menu content
279
281
! ! this . content &&
280
282
! this . content . contains ( e . target ) &&
You can’t perform that action at this time.
0 commit comments