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

Snackbar stacked by other snackbar #2

Closed
farhantandia opened this issue Jul 20, 2022 · 2 comments
Closed

Snackbar stacked by other snackbar #2

farhantandia opened this issue Jul 20, 2022 · 2 comments

Comments

@farhantandia
Copy link

This condition happened if we click a button or there is another process that pop up this animated snackbar, if the duration is still on then it will not go off the screen, thus it will be stacked with another snackbar which is not really good in terms of UX, is there any function to immediately close the current animated snackbar so it will pop up consecutively for the next snackbar?
Screenshot 2022-07-20 190416

@JulyWitch
Copy link
Owner

I didn't create such functionality
I will fix this whenever I get time to work on it

@JulyWitch
Copy link
Owner

JulyWitch commented Sep 10, 2022

I have fix it in #5 (ver: 0.3.0)
You can pass RemoveSnackBarStrategy to snackBarStrategy prop to achieve this

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

2 participants