From 19d7eccd607d346da52089566e0865dc04807f7e Mon Sep 17 00:00:00 2001 From: Jacek Karczmarczyk Date: Mon, 11 Jun 2018 12:26:25 +0700 Subject: [PATCH] fix(VEditDialog): restored **open** and **close** events --- src/components/VDataTable/VEditDialog.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/VDataTable/VEditDialog.js b/src/components/VDataTable/VEditDialog.js index a9e38c1f8063..df79a676f118 100644 --- a/src/components/VDataTable/VEditDialog.js +++ b/src/components/VDataTable/VEditDialog.js @@ -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') + } } },