07/07/2026

Navbar Hamburger Menu GSAP Close

Hi all,

I've used the Navbar component to build a custom hamburger animation, but when I try and set a close animation state, I can not figure out for the life of me how to reverse the timeline. When I apply the open state to first click and then set up second click to 'control:reverse' it just stops working completely.

Here's a video of the timeline set to first click...

Hamburger.mov
109.72KB

Completely flummoxed so any help would be great!

4 replies
07/07/2026
Open Discussion