Jump to content
Search Community

ScrollTrigger Resize (onRefresh)

biodixxx test
Moderator Tag

Recommended Posts

Hello,

 

thank you for all your work, in ScrollTrigger docs its said that resizing runs onrefresh and that recalculates, but it doesn't work in codepen provided, it changes the value in console log but the property isnt recalculated accroding to to the offset height, also when i have display: none on triggering element it doesnt init even when i resize to the width when display is visible.

 

 

See the Pen jOWjOGN?editors=1111 by biodixxx (@biodixxx) on CodePen

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...