hey

great module and libary.
it should be configurable that error or warning messages are sticky.
At the moment messages only fade in and fade out, but I can not set a error message to close only on a click.

Comments

MrMaksimize’s picture

Thanks for opening up the issue!!

Interesting about the sticky though. The setting in the admin doesn't do work for you? If so, this should probably be a bug. Let me know, I'll try to replicate.

Attaching a skitch so you know what I mean.

https://skitch.com/mrmaksimize/8ueyf/noty-messages-random

bennos’s picture

checked the settings.
Close on selfclick is activated, but the message automatically fades out and does not wait for a the click.

MrMaksimize’s picture

Category: feature » bug
Status: Active » Needs work

Ahh bummer... That's a bug then... Gonna have to try and replicate and fix... Switching category and status

MrMaksimize’s picture

Category: bug » feature

Ok no I lied... Looks like the library itself doesn't support it... Close on self click is before the timeout happens. I guess you could just set the timeout really high. Lol I'm gonna switch this back to feature request, I do think this is a good feature, so I'll work on adding this in.

MrMaksimize’s picture

Status: Needs work » Closed (fixed)

Sweet!! My first response to a feature request. Just pushed up the changes. Didn't end up making changes in the noty library, but modified the validation handler for the admin form, so now if you pass in 0 as the timeout, the message will be sticky. Going to close this, let me know how it goes!!