Jump to content
Search Community

Gsap resize cover with parallax (mobile match)

Lichay test
Moderator Tag

Recommended Posts

Gsap resize cover with parallax (mobile match)

I am try to reside to size of my container and it isn't return back 

I add some video with code to see my problem 

it happened when you scroll little down on gsap object.

How can I fix this issue ?

 

https://codesandbox.io/s/gsap-size-bsus3

 

on this website it work good because you must little scroll down on that 1500px

 

 

Link to comment
Share on other sites

13 minutes ago, ZachSaucier said:

Hey Lichay. Your demo doesn't scroll at all so I am unable to recreate the issue. Resizing works fine in the demo that you've provided. Please provide a minimal demo that recreates the issue if you'd like our help debugging.

it scroll in Visual Studio Code

on that website it stack somehow

try to copy it to Visual Studio Code and see the problem

Link to comment
Share on other sites

32 minutes ago, ZachSaucier said:

If you'd like us to help debugging please create the issue on CodePen or CodeSandbox. Asking us to get things running locally is a bit much when we're providing our help for free to you.

you have bug in your gsap !

 

if you delete it from body it work

/* overflow-x: hidden; */

 

but if you use it on regular application it isn't work properly copy this code to angular project 

I created a new project with only that code and do the same problem

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...