https://kotlinlang.org logo
Title
b

brabo-hi

11/30/2021, 6:20 PM
When using Scaffold on compose material 3, how could we dock floating action button ?
c

Chris Sinco [G]

11/30/2021, 7:00 PM
There should be a floatingActionButtonPosition parameter on Scaffold
b

brabo-hi

11/30/2021, 7:09 PM
thanks @Chris Sinco [G] on material 2, there is on scaffold isFloatingActionButtonDocked: Boolean? = false, i can’t find similar on material3
c

Chris Sinco [G]

11/30/2021, 7:32 PM
Ah yeah it’s probably not implemented yet with the alpha version 😞
The Compose M3 library is currently missing a lot of functionality in terms of parity with M2
b

brabo-hi

11/30/2021, 7:34 PM
👍
c

Chris Sinco [G]

12/01/2021, 6:28 AM
It also doesn't seem clear that embedded the FAB in the BottomAppBar is going to be a continued pattern, at least according to the current M3 guidelines: https://m3.material.io/components/navigation-bar/overview
I can check with the Compose Material3 team on this
b

brabo-hi

12/01/2021, 5:28 PM
@Chris Sinco [G] thank you for your support, let me know if you hear back