Jump to content


  • Posts

  • Joined

  • Last visited

Oleksandr07's Achievements

  1. Hello. Tell me how to make the text blocks in section 2 switch instantly, at the first scrolling with the mouse? Now there is a delay and the text blocks don't switch until you scroll to a certain position
  2. Add ScrollTrigger.refresh() after open accordion
  3. After opening the accordion, the upper limit of the trigger does not shift, and when scrolling there is a bug
  4. How to change the start and end position of scrollTrigger after running the onEnter event? ScrollTrigger.create({ trigger: '.box', start: 'top top', end: 'bottom bottom', ease: "power0.easeNone", scrub: true, pin: true, pinReparent: true, invalidateOnRefresh: true, markers: true, onEnter: ({progress, direction, isActive}) => { // change start and end options } });
  5. After resizing the page, the value passed to .to is not updated and the image is shifted further than required
  6. I watched in full mode and there is this bug https://codepen.io/GreenSock/full/abLGwpd
  7. To watch live, open your example, refresh the page with hotkey F5 and see how it works. Then refresh the page with hotkeys Ctrl + F5 and see how it works. The result is different
  8. Sorry, forgot to add screenshots page without a cache - page with the cache -
  9. In your example, the behavior of the elements is generally strange. When you refresh a page without a cache, the items disappear near the top of the screen. When you refresh the page for the second time, already with the cache, the items disappear in the middle of the screen
  10. And how to make the code text start the animation at 80% of the screen height? Now the animation of the first text starts at 80% of the screen height, and the animation of the last at 100% of the screen height
  11. Please tell me what I'm doing wrong. When you scroll the page from the beginning, the text gradually disappears. But when you scroll to the point where the first block of text is above the middle of the screen and refresh the page, all the text disappears and does not appear
  12. Thanks, I think it will help
  13. It is necessary to make that at scrolling of the page at one moment the animation of emergence of the image was started, and at another moment the image was fixed and changed during scrolling. The problem is that when I scroll through the image gallery to the end, the block following the gallery overlaps the gallery.