Hi!
I have a problem on a site with the menu not re-calculating the transform property to hide the menu.
https://human-as.appex.dev
Steps to reproduce:
Go to website and open the devtools/console
Open the menu with the toggle in top right corner
Close the devtools/console
Click the menu toggle again to close the menu
Code used for the menu animation:
CSS & GSAP code for hiding the menu:
transform: translateY(-100%);
const timeline = new TimelineMax({ paused: true, reversed: true })
timeline
.to(this.$refs.mobileNav, 1, { y: '0', ease: Expo.easeInOut })
.staggerTo('.mobile-nav__link', 0.5, { autoAlpha: 1 }, 0.1, '-=0.5')