Richard1604 Posted July 24, 2020 Share Posted July 24, 2020 Hello again, I've had another very enjoyable day delving into the depths of GreenSock looking at the excellent examples and questions that people have posted. I have a very simple query which seems to be recurring in several places: concerning initial behaviour when an animation first starts up. the above code pen is a variant of something in the basic documentation and it works perfectly in the code pen... however on my PC using chrome as a browser I notice that at the bottom of the screen there is a scroll bar (indicating that the screen is wider than window). The scroll bar "adjusts" itself every time one of the boxes enters the display area and then disappears for the duration of the animation as it repeats. As I said, the phenomenon does not happen in the code pen however it is real and I could post a screen shot if that possibly helps. See the Pen wvMOQXM by rb1604 (@rb1604) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted July 24, 2020 Share Posted July 24, 2020 You need to hide the overflow. body { overflow-x: hidden; } 3 Link to comment Share on other sites More sharing options...
Richard1604 Posted July 24, 2020 Author Share Posted July 24, 2020 Many thanks! That's another thing that I have learnt today. My CSS and javascript are rapidly improving and this solution is widely applicable. Thanks again. 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