https://kotlinlang.org logo
#compose
Title
# compose
b

brabo-hi

11/30/2021, 12:16 AM
Hi all, when using compose material3, how could we launch snackbar since the ScaffoldState doesnt have
scaffoldState.snackbarHostState
it only has
drawerState
?
👀 1
a

André Kindwall

11/30/2021, 4:43 AM
Snackar is one of many missing components in Material3. It may be included in the next release though, if this patch is merged in time https://android-review.googlesource.com/c/platform/frameworks/support/+/1902091
👍 2
r

Roberto Leinardi

12/05/2021, 5:08 PM
Is there any know workaround for this or, if an App is using `Snackbar`s should just stick to M2 until this patch get merged?
b

brabo-hi

12/06/2021, 5:42 PM
i think that’s the best option, or just using a Toast