Hi guys, We’re looking to implement a bottom sheet...
# compose
j
Hi guys, We’re looking to implement a bottom sheet in our app but we noticed that, in Material2, the
BottomSheetScaffold
component has a
floatingActionButton
property which is not present in the
BottomSheetScaffold
for Material3. What’s the proper way to have a floating button above our sheet in Material3? Thanks! 🙏
👀 4
m
not sure. but i think m3 has new specs. fab is inside the bar, not above it
j
hmmm, I don’t see anything about that on the m3 site (https://m3.material.io/components/bottom-sheets/specs) there are actions inside the sheet but that’s because those are actions that are specific to the sheet. if I have a fab in my layout, currently, I see no way to keep it above the sheet if the sheet is half expanded. which is not abnormal behavior since google maps does it with the directions and compass mode buttons