This is more to be a helpful FYI for people who use Framer.motion with react-beautiful-dnd (or the supported fork hello-pangea/dnd) and are confused about this conflict.
We just updated to latest version and noticed that all draggable elements that had motion.div parent elements had offsets in x,y from cursor.
I discovered the conflict lies in a default style that get's applied will-change: transform;
The fix basically I'm using is to override that style:
This is more to be a helpful FYI for people who use Framer.motion with react-beautiful-dnd (or the supported fork hello-pangea/dnd) and are confused about this conflict.
We just updated to latest version and noticed that all draggable elements that had motion.div parent elements had offsets in x,y from cursor.
I discovered the conflict lies in a default style that get's applied
will-change: transform;
The fix basically I'm using is to override that style:
If there's a better solution would love to know!