From 35879e4e42264ba834de942ef68448f24e9f5684 Mon Sep 17 00:00:00 2001 From: yelinz Date: Fri, 12 Jan 2024 10:41:57 +0100 Subject: [PATCH] fix(category): reset drag state after drop --- addon/components/category-nav/category.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addon/components/category-nav/category.js b/addon/components/category-nav/category.js index 83eebbe2..dab3d73f 100644 --- a/addon/components/category-nav/category.js +++ b/addon/components/category-nav/category.js @@ -87,6 +87,9 @@ export default class CategoryNavCategoryComponent extends Component { if (!this.args.category.id) return; + this.dragCounter = 0; + this.isDragOver = false; + const documentIds = event.dataTransfer.getData("text").split(","); const success = yield Promise.all(