Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Kári Bertilsson

BusinessGreen
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

2 Newbie

About Kári Bertilsson

  • Rank
    Newbie

Recent Profile Visitors

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

  1. Are there any plans to make this work correctly out of the box with GSAP ?
  2. I am using Draggable on a React component and managed to get this working correctly on IOS by wrapping the React component in double <NonPassiveTouchTarget /> from https://gist.github.com/xiaody/206c4168f9001671c0a374af4558f582 On android the "lockAxis: true" works, but on IOS it does not work unless i use the wrapper also. I would love to get rid of that boilerplate code, so hope this will be fixed in GSAP. I would expect lockAxis to work the same on both platforms.
  3. Yes, the carousel fills approx the entire screen height on mobile phones, so with "allowNativeTouchScrolling: false" after the user has scrolled down to the carousel he is effectively stuck there and can't go up/down anymore.
  4. Hi @PointC Thanks for quick reply. This works to disable native touch scroll completely over the element. But i need the native up/down touch scroll to work unless dragging has started.
  5. The codepen is for some reason actually not working on my IOS. But works on android, desktop etc. The issue on IOS is that when dragging the carousel to left or right, the axis is not locked and the page scrolls up/down when only trying to swipe left/right.
×