React-beautiful-dnd: Drag Handles

Created on 30 Jan 2018  ·  7Comments  ·  Source: atlassian/react-beautiful-dnd

feature request


Looking through the documentation I couldn't find any reference to being able to set up custom drag points (drag handle or move button etc.) and was wondering if that sort of UX is possible or inline with the vision of this library.

question ❓

Most helpful comment

The yolk essence of the egghead: move {...provided.dragHandleProps} into your drag handle:

<div className='mydraghandle' {...provided.dragHandleProps}></div>

All 7 comments

You can do custom drag handles:

https://github.com/atlassian/react-beautiful-dnd#example-custom-drag-handle

Thanks @bmueller-sykes !

Have you removed that example? Because, I cannot find it :(

@bmueller-sykes , have you an example now?

All good - i was going to post that 👍

The yolk essence of the egghead: move {...provided.dragHandleProps} into your drag handle:

<div className='mydraghandle' {...provided.dragHandleProps}></div>
Was this page helpful?
0 / 5 - 0 ratings