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

Be able to close all snackbars #122

Closed
alexisab opened this issue May 15, 2019 · 5 comments
Closed

Be able to close all snackbars #122

alexisab opened this issue May 15, 2019 · 5 comments

Comments

@alexisab
Copy link
Contributor

alexisab commented May 15, 2019

It will be nice to be able to close all snackbars by calling the closeSnackbar function without parameters. It can be tedious to store all snackbar IDs to do that.

For example, I would use this feature to close all snackbars when my user navigate to another page.

@iamhosseindhv
Copy link
Owner

iamhosseindhv commented May 16, 2019

Seems like a good idea @alexisab 👍🏼. I'll keep the issue open and add this to future versions.

@alexisab
Copy link
Contributor Author

Great ! Thank you for your awesome work 😄

@FabianoLothor
Copy link

Some news about this feature?

I cannot found nothing about this on docs: https://iamhosseindhv.com/notistack

@alexisab
Copy link
Contributor Author

alexisab commented Jul 22, 2019

I've submitted a PR #123 to fix the README documentation that has been merged but I didn't touched the website

EDIT: The README has changed a lot since my PR so we should open a new PR to update the doc

@iamhosseindhv
Copy link
Owner

Readme stuff has been moved to docs website:

https://iamhosseindhv.com/notistack#closesnackbar

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