-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Snackbar] Display stacked Snackbars #31991
base: v5.x
Are you sure you want to change the base?
[Snackbar] Display stacked Snackbars #31991
Conversation
Netlify deploy preview@material-ui/lab: parsed: +3.73% , gzip: +3.23% Bundle size report |
… SnackbarsProvider anchorOrigin props
Hello, |
It's not there yet it seems :( |
Hi, there is a release date for this feature? |
There is no release date. We are planning to build unstyled stacked snackbars first. And then we will rebuild this on top of that unstyled version. |
Thank you! |
@mui/core I moved the docs from Lab to Material UI Snackbar page. |
Current progress: #31991 (comment) (Since the "progress" comment is now hidden under "Load more..." (thanks, github 🙄 -- upvote the "pinned comment" feature request: https://github.com/orgs/community/discussions/47912)) |
@ZeeshanTamboli do we have to wait until all unstyled components (mui/base-ui#10) are completed, or now that the unstyled snackbar component is complete is work on
(from #31991 (comment)) able to proceed and this component be available independently of all unstyled components being completed? |
Resolves #1824
Resolves #18098
This is an opt-in feature.
This work is a replacement of notistack.
Demo preview: https://deploy-preview-31991--material-ui.netlify.app/material-ui/react-snackbar/#experimental-api
Initial implementation and idea could be reviewed.Should I move it to MUI lab? If yes, how to reuse theSnackbar
component styles intoSnackbarsProvider
styles without duplicating code by exporting frommui/material
tomui/lab
but not providing it to user inmui/material
?TODO
SnackbarsProvider
.@ts-expect-error
and fix types)Edit: Ready for review!