3

I have a ScrollView and I am using the onMomentumScrollEnd event to trigger a function but I also have a button that uses the scrollTo method which then also fires the function from the onMomentumScrollEnd event. Is there way to trigger the onMomentumScrollEnd event only when it is from a touch interaction?

I have tried to use onScrollEndDrag instead since it is specific to touch interactions, but I specifically need the position of the ScrollView when it glides to a stop

ThanhPhanLe
  • 1,315
  • 3
  • 14
  • 25
Luke Johnson
  • 183
  • 2
  • 12

0 Answers0