React-beautiful-dnd: Disable all drag functionality including pick up

Created on 11 Dec 2017  路  1Comment  路  Source: atlassian/react-beautiful-dnd

Feature Request

It would be useful to have a prop on DragDropContext to completely disable all dragging. Is there currently a way to replicate this functionality for the short term?

Most helpful comment

You can achieve this by using the Droppable > isDropDisabled and Draggable > isDragDisabled props. There is currently no master switch at the root level - but using the provided props will enable you to achieve the behaviour you are after.

>All comments

You can achieve this by using the Droppable > isDropDisabled and Draggable > isDragDisabled props. There is currently no master switch at the root level - but using the provided props will enable you to achieve the behaviour you are after.

Was this page helpful?
0 / 5 - 0 ratings