-
Notifications
You must be signed in to change notification settings - Fork 51
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
Collapse draggable item #54
Comments
@tajo any ideas here? |
Utilizing However, |
|
@raunofreiberg Yea, go for it. |
Hey,
Thanks for the great library! I have a use case that doesn't seem to be possible.
On drag, I would like to collapse the item along with it's hidden clone. This is quite useful for long lists where items can be pretty large in height. Collapsing them helps navigate through this list.
I tried doing something like:
on the component in
renderItem
but only the ghost item seems to change height, but not the hidden one?Here's an example: https://codesandbox.io/s/sad-einstein-u7feh?file=/src/App.js:1160-1212
Thanks!
The text was updated successfully, but these errors were encountered: