drag enter fix

pull/9926/head
Konstantinos Kaloutas 2023-07-13 17:59:41 +03:00 committed by Tienson Qin
parent 1ef3980f59
commit ff77844767
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@
(rum/defc drop-indicator
[idx drag-to]
[:.sidebar-drop-indicator {:on-drag-enter #(when (not= drag-to idx) (reset! *drag-to idx))
[:.sidebar-drop-indicator {:on-drag-enter #(when drag-to (reset! *drag-to idx))
:on-drag-over util/stop
:class (when (= idx drag-to) "drag-over")}])