Flashbar icon indicating copy to clipboard operation
Flashbar copied to clipboard

Unable to use DURATION_INDEFINITE

Open ShivamArora opened this issue 6 years ago • 2 comments

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

ShivamArora avatar Aug 13 '18 17:08 ShivamArora

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

tomekziel avatar Feb 28 '19 11:02 tomekziel

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

Thanks... you saved me

kojofosu avatar Apr 13 '20 22:04 kojofosu