Incompatibility of Animation with Dropdown

I’m trying to include a Dopdown in my Navbar, but it expands only a slice when the screen size is large enought not to show the Burger icon.
Immediately after the Navbar there is a carousel (or I also tried with an image) where I applied animation.
After strugling a lot, I discovered that when I do not use Animation, it works.
Is this a Bug or as behavior?

It would be best if you posted a link to the site so people could look at it. It’s going to be hard to figure this out without seeing the site/code.