Jump to content
Search Community

Jevermind

Members
  • Posts

    3
  • Joined

  • Last visited

Jevermind's Achievements

  1. I think my demo is quite similar to this Observer horizontal transitions, then vertical scroll - ScrollTrigger (codepen.io). the difference is I'm using Observer for 2 sections. Instead of returning to the native scroll of HTML like the example above. I want to return my custom scroll when I already disabled the native when the body has hidden overflow. You said I can set a different scrolling element as the ScrollTrigger. I don't get it
  2. Hi everyone, I have some trouble with my project. I'm trying to mix Observer and Scrolltrigger. I have a body with overflow: hidden to disable the native scroll of HTML. I am using a manual scroll with a Scrolltrigger. But I'm facing a problem when it becomes the manual scroll. It doesn't run onEnter and onEnterBack then using Observer to snap back. How can I make onEnter and onEnterBack run while keeping overflow: hidden in the body and the manual scroll?
×
×
  • Create New...