4 ms·
Always = in Material design https://m3.material.io/components/snackbar/guidelines https://m3.material.io/components/snackbar/guidelines
by is_true 2y ago
Always = in Material design
https://m3.material.io/components/snackbar/guidelines https://m3.material.io/components/snackbar/guidelines
- david_allison 2y agoSnackbars aren't toasts
- is_true 2y agodo you have a source for that? I understand that Toast is the name given in Android
- david_allison 2y ago> Note that Snackbars are preferred for brief messages while the app is in the foreground. https://developer.android.com/reference/android/widget/Toast https://developer.android.com/reference/android/widget/Toast
- is_true 2y agoThat's the Android widget, not material design which is used for YouTube's UI
- david_allison 2y agoI fear we're talking past each other. Material Design doesn't have a Toast. Material Design Snackbars aren't toasts: * Snackbars are local, toasts are global * Toasts don't receive focus, snackbars can (via the optional action) * Toasts auto-dismiss. This is optional for snackbars * Snackbars can explicitly be dismissed early by a user
- Y-bar 2y agoThey even acknowledge the limitations and problems with Toasts: > 1. Add inline feedback > > Information in auto-dismissing snackbars must also be communicated using another accessible method inline or near the action that triggered the snackbar.