Streaming live at 10am (PST)

Lottie Menu Animation Problem

Hi there,

I have a Lottie navbar menu button, and when clicked, it animates from an = sign to x sign and then triggers a drop-down menu.
When the user taps on the x, the menu closes as expected.

But when the user taps outside of the navbar, it triggers the navbar to close … but the Lottie animation doesn’t animated back to =.

How do I get the Lottie event to play and return to the state of = once a tap event occurs outside of the drop-down menu.

https://share.getcloudapp.com/yAuZBzqj

@samliew would you have any insight here?

Hey @adam_mazurick, Please share your read-only link so that we can take a look.

@Sachin Sure.

https://www.advancedtechnologiesgroup.co/

Hey @adam_mazurick, This is how you share read-only link

I am watching. One moment please. Thank you.

@Sachin Cool. Thank you. I’m glad I learned that.

I come from an iOS and Django background. I’ve been using webflow for 4 months now. I love the ease with which I can edit and create layouts in Webflow. I hope to use Webflow as my default front-end creation tool.

https://preview.webflow.com/preview/xlabs-9b17ce?utm_medium=preview_link&utm_source=designer&utm_content=xlabs-9b17ce&preview=c4b462b24809ce55ad61ab71a2055349&mode=preview

Hey @adam_mazurick, Welcome to webflow, I love webflow and it’s a number one NO CODE tool that made my life easier. coming to your query adding an element trigger to webflow’s default “Navbar” component is the best practice and that will solve your problem.

Loom

I’ve recorded a solution in the loom recording if that help’s please mark it as a solution :peace_symbol:

1 Like

@Sachin I am so extremely thankful for your help. Your solution worked right away! Thank you.