-
Notifications
You must be signed in to change notification settings - Fork 28
Manually close alert on click / disable auto hide #52
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
base: master
Are you sure you want to change the base?
Conversation
|
Hi @BaobabCoder thank you for taking the time to do this :) Going to review now. |
|
@BaobabCoder there seems to be an issue with the new It's referenced here but never defined anywhere else in the file. This is causing the alert to stay on screen until the user clicks (as expected when passing Can you take a look at this for me and let me know if I'm missing something? For reference, I used the two example calls in your comment above to test (both the advanced and standard versions). |
|
sure ! I'll take a look as soon as possible. I'm sorry my tests passed. |
|
@themeteorchef i've made a mistake. Fixed now :) |
|
How does one close the alert manually? Is it by pressing anywhere on the bert message like normal? Do we or can we have a close button? |
|
@bluefangs just clicking on the Bert closes it at the moment. |
|
I did not add buttons. The feature "close on click" was already present |
|
Is this repository dead ? |
|
In a brief coma. Bert was poisoned while taking part in an experiment in which he consumed expired tofu for a month straight. He's currently showing signs of life and just recently mumbled "yoga" the other day. We're optimistic of his recovery :) |
|
We believe in you Bert! You can do it! |

Simply disable the timer when
Bert.defaults.hideDelay = -1for example.#41 How can I keep bert alert on screen and manually close it?
Edit : with latest commit also fix #23 #37 #13
You can configure all alerts to be manually closed :
Bert.defaults.hideDelay = -1or specify an alert to be manually closed by using :
or