react-native-reanimated-bottom-sheet icon indicating copy to clipboard operation
react-native-reanimated-bottom-sheet copied to clipboard

`flex: 1` does not work on the sheet content element

Open yolpsoftware opened this issue 4 years ago • 1 comments
trafficstars

Please have a look at the following snack:

https://snack.expo.io/@yolpsoftware/react-native-reanimated-bottom-sheet-flex-1

The bottom sheet does not appear. However, if you remove the flex: 1 style from the top-level sheet content element, it works.

Please either make flex: 1 work inside of the bottom sheet, or if that is not possible, warn the user that flex: 1 will not work.

yolpsoftware avatar Mar 17 '21 15:03 yolpsoftware

@yolpsoftware, height: 100% instead of flex should resolve your problem

vasyiok avatar May 10 '21 15:05 vasyiok