-
Notifications
You must be signed in to change notification settings - Fork 741
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
Fix incorrect Reorder.Item order calculation (Part 2) #2359
Conversation
Thank you for the work done, what is the status, these changes would help me in moment |
Getting this merged would be great! |
Awesome work, thanks! |
Hey @mattgperry, do you need anything to merge this PR? |
Wanted to lend my support to this as well. Ran into both the issue this PR resolves and @chuganzy other PR #2264. Both are blockers for us to update Framer Motion to a later version and to use the otherwise excellent Reorder components. Let's get this merged and released unless there is another blocker. |
Rebased the branch on main since there was a conflict in yarn.lock. |
Thanks for the test and apologises for the delay - busy on Page Effects. Let me merge and publish now. |
@mattgperry Thank you for taking a look while you have a lot on your plate! There is a separated PR to eliminate the Reorder's freezing issue here. It would be great if you had a chance to take a look on it. Thanks! |
* Don't rely on effect execution order when passing around the layout of Reorder.Items * Get rid of layout check as it is no longer nullable * Add an integration test --------- Co-authored-by: Oliver Beattie <oliver@obeattie.com>
This PR aims to complete @obeattie's PR here by adding two more commits:
Note:
Regarding the cypress test, unfortunately to reproduce this on ARM64 macOS (I am on M2), I needed to upgrade cypress to the latest to run the test on ARM64 native browsers - otherwise test passes on the main because of the poor browser performance on Rosetta 2, however I did not include that change here to keep this PR minimum.