react-native-modals icon indicating copy to clipboard operation
react-native-modals copied to clipboard

Can not scroll Flat-list inside modal (ios only)

Open thucltzigvy opened this issue 3 years ago • 5 comments

As describe, I can not scroll items of Flat-list (also ScrollView) inside Modal. This only happen on IOS (14.5 currently).

thucltzigvy avatar Jun 20 '21 01:06 thucltzigvy

I also have this problem

vmikh avatar Jun 25 '21 08:06 vmikh

I also have the same problem

FonTain1991 avatar Jun 29 '21 12:06 FonTain1991

Hey everyone I found a fix based on the maintainers response above. Just wrap your content directly inside the ScrollView with TouchableOpacity:

<ScrollView>
  <TouchableOpacity activeOpacity={.99}>
    {...modalchildren}
  </TouchableOpacity>
</ScrollView>

jeremypagley avatar Jul 09 '21 19:07 jeremypagley

Hey everyone I found a fix based on the maintainers response above. Just wrap your content directly inside the ScrollView with TouchableOpacity:

<ScrollView>
  <TouchableOpacity activeOpacity={.99}>
    {...modalchildren}
  </TouchableOpacity>
</ScrollView>

How about TouchableWithoutFeedback? Have you tried it yet?

thucltzigvy avatar Jul 10 '21 04:07 thucltzigvy

I also have the same problem

1453alabanda avatar Jul 28 '21 13:07 1453alabanda