Forum Discussion
Carousel
Hi Nedim,
How are you?
Thank you for helping out. That's really appreciated.
However, I don't think that this is working as I have envisioned.
It starts off with the right card when I preview but the buttons do not work as you stated because of the triggers that disable these. Therefore the cards do not rotate around when you click them.
Thanks
I understand. The buttons are currently disabled for 1.2 seconds (rotation time) to prevent them from being clicked during ongoing animations. This ensures that rotation functions aren’t triggered too quickly, which could otherwise cause the cards to rotate out of sequence or lead to overlapping transitions.
As mentioned earlier, rapid clicks during animations can break the expected flow. Instead of disabling the buttons, you could also temporarily hide them during the 1.2-second delay.
Alternatively, try reducing the animation duration from 1.2 seconds to 0.6 seconds. Then, remove triggers that disables the buttons during the animation. This might work better for your use case.
Related Content
- 5 months ago
- 7 months ago
- 2 years ago