I use `ModalBottomSheetLayout` and `bottomSheet` ...
# compose
s
I use
ModalBottomSheetLayout
and
bottomSheet
from Accompanist. Does someone know if there is a support for foldables/large screens? The M3 guidelines suggest a max width of
640dp
, but I can’t seem to figure out where to set it. Is there a best practice example somewhere? Thanks for your help
d
This adaptive UI is 👌
Also I love that subtle bounce in the drawer animation.
j
Modal bottom sheets are on the to-do list for M3. I can't promise we will have perfect large screen/foldable support in the first version but it's definitely one of the requirements we set for sheets in M3 (and eventually M2). Fwiw sheets aren't implemented in Compose M3 yet, so if you're using Accompanist you are using M2. For M2 there's currently no way to adjust this. In the meantime, I'd recommend forking the code if you need it.
We also have an issue open for it - let me find it
s
@jossiwolf thanks for the update.