-
Notifications
You must be signed in to change notification settings - Fork 133
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
Some bug reports #65
Comments
Found some clue : from={{
translateY: -50,
rotateX: "-90deg",
}}
animate={{
translateY: 0,
rotateX: "0deg",
}}
exit={{
translateY: -50,
rotateX: "90deg",
}} Using the keys in order (first translate then rotate) in from and animate and exit, would fix the exit animation. The enter animation is however where glitch is still happening. |
Here's how the glitch on enter animation would be fixed :
|
If you change the order of keys you get different results which is expected,But still I think we don't have a good control over this, I suggested some changes here which would fix these problems and more problems all at once : |
Sequence on exit: exit={{
translateY: [0, 50],
rotateX: ["0deg", "-90deg"],
}} This has type errors also doesn't work at all. |
You can't use sequences on exit at the moment |
I wanted to use that as a workaround to fix something else, that something else is the main problem not sequence on exit. |
Can you confirm this does not happen with Reanimated? |
It's related to your library not reanimated. |
Can you reproduce the enter effect you want with Reanimated to show that that's not the issue? |
I'll re-open, but I'd appreciate this being more actionable. It's unclear to me what the problem is. |
Closing for #76 |
Faced the same issue! 💔 |
I'll track this at #76, thanks for letting me know |
Fixed in yarn add moti |
hi @nandorojo i got exactly same problem, the animation so bad to me, can u help:
IMG_0440.MOVI want to make scale + TranslateX/Y like Shared Element Transition |
I tried to create a snack but It gave errors about reanimated 2 when I added moti.
using these :
If I remove translate here the rotate works and if I remove rotate the translate works, but they don't both work at the same time and I get a glitch effect instead.
The text was updated successfully, but these errors were encountered: