From d445fda3f5e3fbcaf08a5ef205588e681abe3221 Mon Sep 17 00:00:00 2001 From: Julian Leucker <leuckerj@gmail.com> Date: Tue, 7 Feb 2023 13:06:50 +0100 Subject: [PATCH] Supply key to custom blocking method --- src/Grid.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Grid.vue b/src/Grid.vue index a258b0e..2dcf7ac 100644 --- a/src/Grid.vue +++ b/src/Grid.vue @@ -17,6 +17,7 @@ :h="item.h" > </DragContainer> + <slot></slot> </div> </template> @@ -56,7 +57,7 @@ export default { } } } - if (this.posValidation) return this.posValidation(x, y); + if (this.posValidation) return this.posValidation(x, y, key); return true; }, handleDragOver(event) { -- GitLab