Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add events on "drag start" and "drag end" #103

Open
zoran123456 opened this issue May 27, 2020 · 3 comments
Open

Please add events on "drag start" and "drag end" #103

zoran123456 opened this issue May 27, 2020 · 3 comments

Comments

@zoran123456
Copy link

Hi,

could you please add the following events, so we can for instance set class names for a parent component to "parentelement-children-dragging" and "parentelement-children-normal".

That way we can set all other child elements semi-transparent, and draggable element full opacity.

@JakeSidSmith
Copy link
Owner

Which version of react-reorder are you using?

@zoran123456
Copy link
Author

Hi Jake, I'm using version 3.

Currently I'm attaching event on parent element of dragged items (for onmousedown) and window (onmouseup). It works, but it would be easier to just have component events.

@JakeSidSmith
Copy link
Owner

JakeSidSmith commented Jun 11, 2020

Happy for you to open a pull request for this. 🙂

I doubt I'll be able to implement it any time soon. 🙁

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

No branches or pull requests

2 participants