the49ltd / The49.Maui.BottomSheet

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

BottomSheet not fitting properly in Android Tablet #73

Open DharunAR opened 10 months ago

DharunAR commented 10 months ago

Bottomsheet is fitting properly on phone, below is screenshot:

image

But in Tablet its looking like below: image

The bottomsheet control should be visible from the start to end on bottom on tablet too. Can you help me out how we can handle that the same with this package?

paulvarache commented 10 months ago

Hi,

This package uses the Material 3 Bottom Sheet. Looking at the specs, after a specific width, the sheet becomes centred: https://m3.material.io/components/bottom-sheets/specs

DharunAR commented 10 months ago

So changing width will help?

hansmbakker commented 8 months ago

The spec for the width says:

Full width, up to max-width 640dp

So it will never be wider than 640dp. What size is your tablet? And what width does your bottomsheet have?