title: Change z index in a framer motion animation
body: <p>I'm making a dropdown menu and I wanted to create an animation using framer motion. The problem I encounered is that when the animation starts the component hides under the other components on the website until the animation ends. I have seen that you can specify zIndex property but it doesn't seem to work. Did anyone have a similar problem? Any solution?</p>