Jump to content
Search Community

labelsDirectional for mutiple timeline not work

lich0320 test
Moderator Tag

Recommended Posts

Question: How can i use  span:labelsDirectional  in scrollTrigger   with mutiple timeline ?  Is there any way to achieve him ? 
Demos:  
In this demo, I created four timeLabels, one timeLine has two timeLabels. In first timeline he works fine, but when he can't switch to the next timeline.

Thanks help!!!

See the Pen xxPjKvP by liar0320 (@liar0320) on CodePen

Link to comment
Share on other sites

10 hours ago, GreenSock said:

I don’t see any problems in that CodePen demo behavior. What am I missing? 

I updated my case

In the case, I have [scrolltrigger < section01 >]  and  [scrolltrigger < section02 >]。 

It works well when triggered by [scrolltrigger < section01 >] alone

It also works well when triggered by [scrolltrigger < section02 >] alone.

<Works refers to snap to label>

However, during the scroll from [scrolltrigger < section01 >] to [scrolltrigger < section02 >] , he cannot snap to the label in [scrolltrigger < section02 >]

Excuse me , How can I achieve this effect ?

 

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