-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
useTransition and immediate #594
Comments
i think you don't need transition at all in this case, it's been made for situations where immediate actions are intercepted in order to animate items in and out. |
sure, that's what I'm using it for -- I want to animate transitions like enter/exit/update, but also want to conditionally snap certain transitions to their destination some of the time. |
the issue is manifesting with animating upon adding a row to the grid, the existing cells in rows below have to be shifted down 1 row ( |
Please provide a CodeSandbox that demonstrates the issues you're having. Thanks! 👍 |
https://codesandbox.io/s/ql21yr2l4?fontsize=14 it's very possible that there's a way to fix this specific implementation without something like |
You can use v9 like this now: Let us know how it goes: #642 |
immediate
key fails when used withupdate:
orenter:
or whatever keys onuseTransition
. is there any way to immediately snap anupdate
to its destination, for example? would this require an API change?The text was updated successfully, but these errors were encountered: