mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 06:34:34 +00:00
drag enter fix
This commit is contained in:
committed by
Tienson Qin
parent
1ef3980f59
commit
ff77844767
@@ -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")}])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user