Janelle Posted July 22, 2020 Share Posted July 22, 2020 So, I have a webpage a vendor designed for us using your awesome gsap, but something odd happens if I view a different tab, then view the tab with the webpage, the webpage does this crazy auto scroll up. It is always random which section it'll scroll up too. I hope that makes sense. I'm not sure how else to explain it. What would cause this and how can I stop it? On page load the page should always start at the top, but when moving between tabs should not trigger any events. I'm attaching my js file. I sure hope it is a simple fix. Thanks, Janelle main31.js Link to comment Share on other sites More sharing options...
ZachSaucier Posted July 22, 2020 Share Posted July 22, 2020 Hey Janelle and welcome to the GreenSock forums. This seems like something that you should ask your vendor about given they completed the work for you... Unfortunately we don't have the capacity to go through hundreds of lines of code to figure out which parts are relevant to the issue and debug it from there. If you could try stripping out irrelevant parts of the code and share only the relevant parts related to the issue we're happy to take a look. This thread talks about how you can create a minimal demo: Besides that, if you have any specific questions about GSAP we're happy to help! Happy tweening. Link to comment Share on other sites More sharing options...
Janelle Posted July 22, 2020 Author Share Posted July 22, 2020 Thank you Zach. I'll reach out to the vendor. I'll make sure to create a demo next time. Link to comment Share on other sites More sharing options...
Janelle Posted July 23, 2020 Author Share Posted July 23, 2020 Looks like the vendor reached out to you guys about this issue and it was resolved by updating our gsap to the latest. Thanks. 2 Link to comment Share on other sites More sharing options...
Dinesh Wagh Posted February 9, 2021 Share Posted February 9, 2021 Hello I have created HTML http://design.devboxx.in/daniel/ using GSAP and I am facing auto-scrolling issue, when I am scrolling page down to The Story Of Daniel section page scrolling automatically up, why? can you help me? adding CUSTOM.JS file here. Thank you, Dinesh Wagh. custom.js Link to comment Share on other sites More sharing options...
ZachSaucier Posted February 9, 2021 Share Posted February 9, 2021 Hey @Dinesh Wagh and welcome to the GreenSock forums. Unfortunately we don't have the capacity to debug entire live websites for anyone who posts here for free. If you create a minimal demo of the situation hopefully using a site like CodePen and make a new thread about your issue we'll do our best to help. Side note: you're making one of the most common GSAP mistakes in using the old syntax a good bit. It's easy to upgrade to the new syntax! 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