Replies: 1 comment
-
This use-case isn't currently well-supported. There's a number of changes that would need to happen in the library to support this. Changes to the We could however introduce a You could also try to achieve this with modifiers, but again modifiers don't currently affect the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, if you set
transform: scale(2)
on the overlay, currently collision detection would be still caculated based on the original size. It's inaccurate now. Is there any configuration or workaround that can make it work?For example, I'm dragging a photo to a canvas with a zoomed size:
Because it's larger than the original size so when it drags over dnd-kit cannot detect collisions correctly. (When isOver === true the background turns red)
It can only trigger the
over
event with the original sizeBeta Was this translation helpful? Give feedback.
All reactions