mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 14:11:39 +02:00
✨ Disable drag enter/leave animation in webkit browsers
This commit is contained in:
parent
797ba3ef9b
commit
84b7a2de0b
2 changed files with 10 additions and 1 deletions
|
@ -294,7 +294,8 @@
|
|||
(fn [e]
|
||||
(when (dnd/has-type? e "penpot/files")
|
||||
(dom/prevent-default e)
|
||||
(when-not (dnd/from-child? e)
|
||||
(when-not (or (dnd/from-child? e)
|
||||
(dnd/broken-event? e))
|
||||
(when (not= selected-project project-id)
|
||||
(reset! dragging? true))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue