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

Unable to use DURATION_INDEFINITE #23

Open
ShivamArora opened this issue Aug 13, 2018 · 2 comments
Open

Unable to use DURATION_INDEFINITE #23

ShivamArora opened this issue Aug 13, 2018 · 2 comments

Comments

@ShivamArora
Copy link

I'm unable to set indefinite duration for the flashbar message by using Flashbar.DURATION_INDEFINITE.

I get the following error:

Duration cannot be negative or zero

Please make changes in the code regarding this and allow an exception for Flashbar.DURATION_INDEFINITE

@tomekziel
Copy link

If you don't use duration() method, duration will revert to default indefinite behavior.

@kojofosu
Copy link

If you don't use duration() method, duration will revert to default indefinite behavior.

Thanks... you saved me

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