With iOS 17 there is a known issue with BottomSheetPresentationController which can be resolved by setting shouldPresentInFullscreen to true.
It would be necessary to have the possibility to set this value via config in order to solve this problem with iOS 17