React-beautiful-dnd: how to implement the copy drag?

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

the copy drag is a common case,
could you give any suggestion, how to implement based on current API?
thanks in advance ~

Most helpful comment

Just replace the placeholder of Draggable, to simulate the copy drag.
{provided.placeholder && <div className={styles.placeholder}>{item.name}</div>}

>All comments

Just replace the placeholder of Draggable, to simulate the copy drag.
{provided.placeholder && <div className={styles.placeholder}>{item.name}</div>}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WJKwok picture WJKwok  路  3Comments

crapthings picture crapthings  路  3Comments

OmriAharon picture OmriAharon  路  3Comments

jasonlewicki picture jasonlewicki  路  3Comments

FutureKode picture FutureKode  路  3Comments