React-beautiful-dnd: Prevent *source* draggables from animating

Created on 26 Apr 2019  路  2Comments  路  Source: atlassian/react-beautiful-dnd

Is there a way of preventing the source draggable components from moving within the droppable? I've gone through the documentation and haven't found anything. Most issues with animation, I understand, is in opposition to keeping R-B-D lifelike, but preventing the source list from moving actually fits under this framework!

Thanks for your great lib!!

React v16.8.4

RBD v11.0.0-beta

bug 馃悶 untriaged

Most helpful comment

That did help! But I should clarify my question.
I would like to prevent the home list draggable components from rearranging after I take one component out of it. Is this possible?

All 2 comments

You can set isDropDisabled to true on the home list to prevent reordering or dropping in it

That did help! But I should clarify my question.
I would like to prevent the home list draggable components from rearranging after I take one component out of it. Is this possible?

Was this page helpful?
0 / 5 - 0 ratings