nysamnang / react-native-raw-bottom-sheet

Add Your Own Component To Bottom Sheet Whatever You Want (Android and iOS)
https://npmjs.com/package/react-native-raw-bottom-sheet
MIT License
1.09k stars 195 forks source link

how to make other Component front of rbsheet #147

Closed echolove38 closed 8 months ago

echolove38 commented 2 years ago

I write a loading component , and try to show loading when click the button in the rbsheet, but the loading is always back of the rbsheet, even if I set zIndex/elevation much high image

JedrekDabrowski commented 10 months ago

You can add customStyles to RBSheet:

    <RBSheet
      customStyles={{
        wrapper: styles.sheetWrapper,
        container: styles.sheetContainer,
      }}...

in styles.sheetContainer just add overflow: 'visible',