the49ltd / The49.Maui.BottomSheet

.NET MAUI library used to display pages as Bottom Sheets
MIT License
317 stars 30 forks source link

Is it possible to have a Handle, but disable dismiss by it? #102

Open pequi-roido opened 7 months ago

pequi-roido commented 7 months ago

First and foremost, congrats for the library!

So, is it possible to have a sheet that is essentialy movable by the handle, but not dismissable by it? IsCancelable works, but disables any kind of movement

I experimented with recreating the sheet in the Dismissed event, but it's not the most ideal solution

Thanks in advance!

vhugogarcia commented 2 months ago

I don't think that is possible by design from each platform on iOS and Android. By reviewing the platforms documentation, I noticed there is a way to prevent to hide it, but not exactly as you wanted it. However, I may be wrong.