Great tool first of all. Thank you for sharing it.
I am testing some login logic and I generated few (~4) Snackbars in a few seconds. I noticed that after that, they stopped showing up altogether.
I believe that they should show up all the time unless configured differently.
After a few clicks, they stop appearing. I also noticed that after the third one (in most of the cases but not always) the fourth one is shown with a few sec delay. After that, no more Snackbars are shown on the screen. In my app maxSnack={3}.
In codesandbox.io I had to click more times comparing to my app, but eventually (maybe 10-15 times) it also stopped working.
Link:
https://codesandbox.io/embed/eager-einstein-1rno0?fontsize=14&hidenavigation=1&theme=dark
"react-dom": "^16.13.1"
"@material-ui/core": "^4.9.14"
"notistack": "^0.9.14"
Browser: Version 81.0.4044.138 (Official Build) (64-bit)
I have the same issue. This is new with 0.9.14. If I downgrade to 0.9.13, everything starts working again.
Thanks for reporting this guys.
This bug was introduced by material-ui's latest changes (about a week ago) in handling react-transition-group callbacks.
https://github.com/mui-org/material-ui/issues/21091
Recent changes in v0.9.14 made the bug visible to the end users. Anyhow, it is fixed and going to be published in a few hours.
the same to me锛宨t took me hours to check
Most helpful comment
Thanks for reporting this guys.
This bug was introduced by material-ui's latest changes (about a week ago) in handling
react-transition-groupcallbacks.https://github.com/mui-org/material-ui/issues/21091
Recent changes in
v0.9.14made the bug visible to the end users. Anyhow, it is fixed and going to be published in a few hours.