How to adjust the height of the bottom sheet

 To set the height of the bottom sheet, you need to use the height prop instead of maxHeight. So, you need to change this line of code:

php
<BottomSheet ref={bottomSheetRef} maxHeight={bottomSheetHeight} sliderMinHeight={0}>

to:

php
<BottomSheet ref={bottomSheetRef} height={bottomSheetHeight} sliderMinHeight={0}>

By using the height prop, you should be able to adjust the height of the bottom sheet to 75% of the screen height.

Comments