Skip to content

Allow nested reorder components (stop propagation on item down)#93

Open
cyberpluto wants to merge 1 commit intoJakeSidSmith:reworkfrom
cyberpluto:patch-1
Open

Allow nested reorder components (stop propagation on item down)#93
cyberpluto wants to merge 1 commit intoJakeSidSmith:reworkfrom
cyberpluto:patch-1

Conversation

@cyberpluto
Copy link

This allows to work with nested Reorder components, otherwise all nested elements drag together :)

This allows to work with nested Reorder components.
@JakeSidSmith JakeSidSmith changed the title Stop propagation Allow nested reorder components (stop propagation on item down) Nov 22, 2017
@JakeSidSmith
Copy link
Owner

@cyberpluto I wouldn't want to add this to the library in this way as there would be no way to not prevent the stopPropagation. However, allowing a user to manually call stopPropagation would be fine. Or perhaps a prop that stops propagation.

Adding a callback for onItemDown would allow a user to manually call this. Would that be a suitable solution for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants