dnd-kit icon indicating copy to clipboard operation
dnd-kit copied to clipboard

Issue with framer motion integration

Open theusualberliner opened this issue 1 year ago • 2 comments

Hey there. I'm trying to use example of Integration with other libraries from storybook: https://master--5fc05e08a4a65d0021ae0bf2.chromatic.com/?path=/story/presets-sortable-integration-with-other-libraries--framer-motion

And there is one issue which I can not get. If I simply copy your code and try to run it in any other project, even in empty create-react-app, I'm having the following issue (see gif below). Items that participated in movement are settling down after drag end. Somehow storybook example doesn't have it, code is the same.. I'm really stuck with it. Any suggestion would be highly appreciated.

bug

theusualberliner avatar Apr 06 '24 07:04 theusualberliner

I got the same problem.. Any way to work out? T^T

Kutius avatar Apr 19 '24 01:04 Kutius

In the storybook the framer-motion version is ^3.1.1. In your own project, you might have installed the latest framer-motion, which is probably ^11.

As far as my experiments go, downgrading to ^3.1.1 can fix the problem, even tho downgrading is not a very ideal solution.

DylanTse520 avatar Jul 30 '24 01:07 DylanTse520