Jump to content
Search Community

Huy Nguyen 2K

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Huy Nguyen 2K's Achievements

  1. Hi, I am following this example to handle one scroll in my page. It works fine but when I scroll with trackpads on laptop, each scroll it move with 2 or 3 sections each time, I want each scroll with trackpads it's just scroll one section. Is anyway to fix this problem? Thanks you!
  2. https://codepen.io/GreenSock/pen/oNdNLxL?editors=1010 In this example, I use onPress in observer to prevent scrolling behavior on safari and it works fine but at this time I can't to interact with elements in DOM. Is anyway to resolve this problem? Thank you!
  3. Sorry because I'm not explain clearly, I want to run animation in box1 with scrollTrigger but I have a problem when use pin with scrollTrigger, it's create pin spacer element to embrace box1 and you can see in box1 there are two elements child1 and child2 but child2 larger than it's parent. Is any way to pin spacer element also embrace child2 element?
  4. Huy Nguyen 2K

    Observer

    Hi, I have a question about observer of gsap that is if I use preventDefault: true in observer this mean it will block address bar on mobile right? But when I use safari to test, I see the address bar not blocking and I don't know why while it works fine on android devices. Thank you!
  5. Because in my case, I want when end scrollTrigger animation of box1, box2 must be next to child2 but currently it is overwrite each other.
  6. Hi, I have an issue with gsap scrollTrigger, I want trigger element is box1 and end trigger is child2 element, I also try with endTrigger property in scrollTrigger but it's not working. Is any solution for this problem. Thank you!
  7. But in my case, I can't disable observer because it's cause some problem. Is anyway to handle scroll on mobile with observer. Thanks!
  8. Hi, I follow this example to handle scroll to snap section in my website but I want on mobile it can scroll as normal in some section and also keep preventDefault: true to prevent scroll behavior of the browser. Is anyway to resolve this problem? Thank you!
  9. Hi, I have a problem when using preventDefault: true with observer on mobile. In my website, I use preventDefault: true to handle snap section and in that section, I have a list of items and I want to drag this list items in horizontal but it's not working. Is anyway to fix this problem. Thanks!
  10. Thanks for your response, I tried with normalizeScroll, it's work fine on mobile but when I scroll in footer section on desktop it has some jerky. So I think I will disable normalizeScroll on desktop and just enable it on mobile, how about this way or have you had a better solution? Thanks!
  11. Hi, I want to use this example in my project, but when I scroll it on mobile, it's has some jerky. How can I fix it? Thanks!
×
×
  • Create New...