-
Notifications
You must be signed in to change notification settings - Fork 97
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
Don't want to close message on double-click. #118
Comments
Hi there, We had need of this functionality as well, so I looked into it a bit. Take a look here: angular-growl-2/build/angular-growl.js Line 33 in a910139
It seems that there is a check here introduced with a910139 that checks to see if there is a flag that disables click to close. However, this is the only instance of this property that I can see. It is not set anywhere that I can see. I was able to get around this by tweaking a few things. I don't have a diff available to me right now (and I may make a pull request for this later), but I changed that line to look like:
Then I added a default value to this line: angular-growl-2/build/angular-growl.js Line 93 in a910139
Finally I added the following to the angular-growl-2/build/angular-growl.js Line 193 in a910139
I was then able to call a growl with the following:
Again, I might make a pull request that introduces something like this. I'm thinking changing it to a |
I've added a pull request to address this issue. :) |
I have hidden the default close button in growl message but still when I double click on message it closes/hide. I want the message to display permanently not fade out/hide/close on double click.
My growl message contains some links inside it, so I can't do "pointer-events:none" on open event .
Please suggest. How to do it?
The text was updated successfully, but these errors were encountered: