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

Allow indefinite duration for showing errors #46

Closed
alexhelder opened this issue Dec 17, 2014 · 5 comments
Closed

Allow indefinite duration for showing errors #46

alexhelder opened this issue Dec 17, 2014 · 5 comments

Comments

@alexhelder
Copy link

The Material Design Spec Sections "App Errors" and "Incompatible state errors" show snackbars being used to communicate different error states:
http://www.google.com/design/spec/patterns/errors.html#errors-app-errors

"Consider displaying an unintrusive but persistent indicator when users are in these states."

However the current implementation requires a definite duration to show. I propose adding a constant SnackbarDuration.INDEFINITE which would keep it on screen, needing to be dismissed by swipe or action.

@wmora
Copy link
Contributor

wmora commented Dec 18, 2014

sounds good, will work on it when I get a chance

@arturdryomov
Copy link

👍

1 similar comment
@dirkam
Copy link

dirkam commented Dec 19, 2014

+1

@wmora wmora closed this as completed in afa5aec Dec 21, 2014
@wmora
Copy link
Contributor

wmora commented Dec 21, 2014

@alexhelder @dirkam @ming13 released in v2.7.0

@arturdryomov
Copy link

Thanks! 🎄

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

No branches or pull requests

4 participants