GreenBox Posted October 21, 2020 Share Posted October 21, 2020 The animation of a hamburger is working differently on 2 separate pages using the same header navigation. The transform property Matrix 3d is not the same. The animation is an open/close of a hamburger. In the first instance the values throw off the animation. The second is correct. For example: transform: matrix3d(0.707107, 0.707107, 0, 0, -0.707107, 0.707107, 0, 0, 0, 0, 1, 0, 0, 6, 2.71525e+11, -2.71525e+08); versus transform: matrix3d(0.707107, 0.707107, 0, 0, -0.707107, 0.707107, 0, 0, 0, 0, 1, 0, 0, 6, 0.1, 0.9999); What factors could be causing this difference? Link to comment Share on other sites More sharing options...
ZachSaucier Posted October 21, 2020 Share Posted October 21, 2020 Hey GreenBox and welcome to the forums. 57 minutes ago, GreenBox said: What factors could be causing this difference? It's hard to say given the lack of info. Can you please create a minimal demo of your situation? Link to comment Share on other sites More sharing options...
GreenBox Posted October 21, 2020 Author Share Posted October 21, 2020 Thank you ZachSaucier. I attached 2 files below. On click, the burger menu disappears on the home page. Both pages are using the same header. Although the svg lines are not visible on the home page , clicking on the burger menu area still works *i.e. menu closes and opens. Link to comment Share on other sites More sharing options...
ZachSaucier Posted October 21, 2020 Share Posted October 21, 2020 Sorry, we can't debug images. Please create a minimal demo of your issue if you'd like our help debugging. Link to comment Share on other sites More sharing options...
GreenSock Posted October 21, 2020 Share Posted October 21, 2020 Also, I assume you're using an old version of GSAP, right? Have you tried updating? Like Zach said, it's virtually impossible to troubleshoot without a minimal demo. Once we see one, I'm sure we'll be able to offer more help but I'd STRONGLY recommend updating. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now