3

I'm using a bunch of ScrollViews in my Expo React Native application, and I've noticed that whenever the ScrollView animation is still happening, I am unable to tap any TouchableHighlights or TouchableOpacity elements until the animation has fully stopped.

Is this type of blocking expected behaviour, and is there any way to circumvent this? Running on iOS.

Thanks!

hci-make
  • 45
  • 1
  • 6

1 Answers1

0

Did you use like this??

<ScrollView keyboardShouldPersistTaps="always">
    // all stuff here
</ScrollView>;

Use keyboardShouldPersistTaps and set it to always. This should solve your problem.

Kartikey
  • 4,516
  • 4
  • 15
  • 40