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

react-native-tab-view not visible in Modalize when adjustToContentHeight is true

Open holyris opened this issue 2 years ago • 1 comments

Describe the bug react-native-tab-view is not visible when used in Modalize FooterComponent prop, with adjustToContentHeight = true The tabs are still rendering, so I guess TabView has no height. I tried to set fixed height but doesn't work either

Reproduce https://snack.expo.dev/@holyris/tabview-not-visible-in-modalize-when-adjusttocontentheight-is-true

Android (not working) : image

Web (working) : image

Dependencies:

  • react-native-modalize: 2.0.8
  • react-native: 0.63
  • react-native-gesture-handler: 1.10.2
  • expo: 42.0.0

holyris avatar Sep 15 '21 14:09 holyris

I am facing the same issue; did you manage to find a solution @holyris ? Edit: I "kind of" fixed it (although I don't like this solution) by setting a defined height (the same as modalize props "modalHeight" to the component containing the tabview... not ideal and not flexible, but working at least...)

pierroo avatar Oct 13 '21 14:10 pierroo