Skip to content
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

gaps between snack bars disappear after MUI 4.12.0 #411

Closed
edmonl opened this issue Jul 23, 2021 · 2 comments
Closed

gaps between snack bars disappear after MUI 4.12.0 #411

edmonl opened this issue Jul 23, 2021 · 2 comments

Comments

@edmonl
Copy link

edmonl commented Jul 23, 2021

MUI version 4.12.0

After mui/material-ui#24084, MuiCollapse-container is renamed to MuiCollapse-root.

Expected Behavior

Snackbars have gaps in between, and dense prop of SnackbarProvider should work and adjust the gap.

Current Behavior

No gap between Snackbars.

Steps to Reproduce

With MUI >= 4.12.0, show multiple snackbars.

Context

mui/material-ui#24084
https://github.com/mui-org/material-ui/releases/tag/v4.12.0

Your Environment

Tech Version
Notistack v1.0.9
Material UI Core 4.12.1
React 17.0.2
@kgrhartlage
Copy link

kgrhartlage commented Jul 25, 2021

The underlying cause also affects pointer-events. Clicks on the action button are no longer recognized and you can instead interact with elements under the snackbar.

@iamhosseindhv
Copy link
Owner

iamhosseindhv commented Jul 26, 2021

This issue has been fixed in notistack v1.0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants