Jump to content
Search Community

scrollTrigger delay responsive (cause white space appear) when resizing browser

WakuWakuCodingu test
Moderator Tag

Recommended Posts

Hi, recently i created a code with scrollTrigger. 

 

When I resize the browser to check for section responsive, there will white space that appear at right side of the browser briefly (shown as in the image attached).

 

When I didnt apply scrollTrigger, the white space wont appear and the section resize normally.

 

Is there anyway to solve this problem or reduce the white space effect

 

My english isnt that good, any help will be appreciated!  Thank you!

スクリーンショット (1416).png

See the Pen mdgjxwB by WakuWakuCodingu (@WakuWakuCodingu) on CodePen

Link to comment
Share on other sites

  • WakuWakuCodingu changed the title to scrollTrigger delay responsive (cause white space appear) when resizing browser

Hi there, am I correct that the white space only appears during the resize? If so that's just the browser recalculating and adjusting the layout.

 

I wouldn't see that as an issue. The only people that really resize browser windows are developers anyway! From years of bug testing websites and watching user journeys, the average user doesn't resize the browser, and if they do, they certainly don't care what the website looks like during resize. As long as the layout settles and is useable you're a ok.

  • Like 1
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...