Closed staswerno closed 2 years ago
Hello. This issue is one of the reasons that version 3 exists in the first place. I couldn't figure out a way to make it animate smoothly using the MUI animation system, so I had to move over to framer/motion.
Sadly, the only thing I can tell you is to wait for the bugfix on the "often does not render" issue.
OK thank you. I tried isolating the version 3 carousel right down to bare bones elements withour interference from other components and it was still often not rendering, so I'm hoping that a fix can be found, really love the carousel. Thanks Learus!
I'm closing this issue. Animation issues in version 2 are not going to be fixed, since version 3 takes care of them. As per the last comment, other issues are reporting the problem. (#139)
Stack:
"react": "^17.0.2" "@mui/material": "^5.2.5" "react-material-ui-carousel": "^2.3.7-mui5"
I'm using the aforementioned version of the carousel, as the component often does not render using the version created by the standard npm install.
With this version of the install, the current element fully fades/slides out, revealing whatever is behind it (in my case a plain color background), before the next element fades/slides in. This is in contrast to the standard install, where the current element smoothly fades/slides into the next (with slides, this gives the desired effect that the elements are 'glued' together).
Here is my code:
It is also worth noting that the page will sometimes, but not always 'glitch' during the transition from one element to the next.
Thank you!