Jump to content
Search Community

lich0320

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by lich0320

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

     

  2. Question: How can I achieve this kind of function?
    Demo: 
    Targets: I have a node and a target node, and I want to make the current node and the target node overlap in position and size.

    Descriptions: 
    In this demo I implemented such a function, but when the window changes, I can't update the value in gsap.to, what should I do.
    Or is there a better implementation?


    Thanks for help !!!!!

    See the Pen yLPjLPb?editors=0010 by liar0320 (@liar0320) on CodePen

×
×
  • Create New...