Hey guys,
I’m trying to animate my mobile menu so that the trigger button (lottie file) opens/closes the menu block, but I also want that when the menu link (links to page’s section) is clicked on, the menu closes as well.
I’m using a trigger animation that closes the menu block and it seems to work properly when you click on the menu link, but not when you click a second time on the trigger button (lottie file). The animation starts back on the lottie, but does not close the menu, it only closes when you click on a menu link.
It’s the exact same animation that I’m reusing on both of the elements (nav menu and trigger button) so I am quite lost on this one!
If you have any clue, let me know !!