chenglou / chenglou/react-motion
Smooth transitions when an element is reparented?
- Dominant language
- JavaScript
- Stars
- 21.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Is there any good way to create a smooth transition when an element is reparented (which suddenly changes its base location)?
My use case is basically the same as your "draggable list" demo, except in my case the divs are inside table cells. When the list is reordered, I reparent the draggable `
When this reparenting happens, the `
Any suggestions for this?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the repository's draggable list demo and review how draggable divs are reparented into new table cells. The work is done when an element moved between rows transitions smoothly instead of jumping to its new base location, including the required transform adjustment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100