When clicking the arrow of a slider, it animates only the main component


I made a navbar with a slider inside a dropdown, this slider has arrows to go left or right and when I first tested it, it showed me that there was no interaction on the arrows.

At first I didn’t see it but when I click on the arrows, the slider moves in the main component. So the animation of the arrows is connected to the main component.

I would like the arrows to animate my child component do you know where the issue comes from ?

Thank you !

Left : main component
Right : Child (as you can see it is linked to the main component)

Hey there, thanks for reaching out!

It’s hard to be sure what’s happening without seeing how it’s set up in your file. Are you able to share a link to the file so that we here in the community can take a closer look?