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 won't auto dismiss if 'active' on mount #902

Closed
dlin-me opened this issue Oct 27, 2016 · 0 comments
Closed

Snackbar won't auto dismiss if 'active' on mount #902

dlin-me opened this issue Oct 27, 2016 · 0 comments

Comments

@dlin-me
Copy link

dlin-me commented Oct 27, 2016

Snackbar components uses componentWillReceiveProps to register a timeout callback to hide itself. However, componentWillReceiveProps is not call upon component first mount, This meanings if a Snackbar is set to 'show' upon mounting, it is not going to self-dismiss.

@dlin-me dlin-me changed the title Snackbar won't dismiss if 'active' on mount Snackbar won't auto dismiss if 'active' on mount Oct 27, 2016
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

1 participant