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
[FEATURE] Multi-axis support in Reorder.Group
#1400
Comments
Really need this! |
would be great having this feature |
That "To allow dragging on both axes, pass the drag prop to child Reorder.Item components." line in the Reorder.Group props section completely threw me for the past 2 days. I too was under the impression that xy reordering was supported after reading that, only to now stumble upon the Twitter thead linked to above. Would be fantastic if this could be added. |
Updates here ? |
The PR is open since Sep 01 but no answers yet :( |
Yeah I see... however I have almost working example on codesandbox with custom drag dandlers, but it has some problems that i'm trying to resolve... So wanted to check if there is something ready from the box. So i'll try to resolve bugs of my version :( |
You could also copy-paste what I made and use patch-package to save the changes in your |
just in case, maybe you know a solution.. If you could look at this very old variant that I found, it looks like the old For example: when the first box on 0 index, and you drag in to right, the The problem now, in latest framer-motion version, So it looks like right now |
Ah.. nevermind, sorry, I understand why it is happened like I want in old version. In old version, each box has Just sad that this handler is removed in new versions, and need to understand how to make similar move now |
@cjoecker done! it's new |
@cjoecker I don't know why I've not been getting updates to your PR but thanks, I'll take a look asap although the next week will probably be a little busy with layout animation work |
Any updates? |
Any updates? |
@mattgperry the PR for this issue is open for more than one year. Can you give it a check, please? |
any updates? |
Would also really appreciate this! |
Need this feature ASAP |
Is your feature request related to a problem? Please describe.
The new
Reorder
components are great for horizontal and vertical lists, it would be fantastic to have first class support in the same api for re-orderable grids. I also raised this on twitter as the wording in the docs can be read as if this feature already exists.Describe the solution you'd like
Ideally the
axis
prop onReorder.Group
would take an additional optionaxis="xy"
, or similar. It could be that the reality of dual axis makes the interface more complex, but this would be the ideal.Describe alternatives you've considered
The alternative would be custom building using the drag and drop primitives as pre-5.
The text was updated successfully, but these errors were encountered: