Skip to content

Commit

Permalink
fix(VEditDialog): restored **open** and **close** events
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekkarczmarczyk committed Jun 11, 2018
1 parent 3982b5e commit 19d7ecc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/VDataTable/VEditDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ export default {

watch: {
isActive (val) {
val && setTimeout(this.focus, 50) // Give DOM time to paint
if (val) {
this.$emit('open')
setTimeout(this.focus, 50) // Give DOM time to paint
} else {
this.$emit('close')
}
}
},

Expand Down

0 comments on commit 19d7ecc

Please sign in to comment.