adopted-ember-addons / ember-cli-flash

Simple, highly configurable flash messages for ember-cli
https://www.npmjs.com/package/ember-cli-flash
MIT License
355 stars 113 forks source link

Sticky messages not working #222

Closed rodrigoboni closed 7 years ago

rodrigoboni commented 7 years ago

After showing a message with "sticky" option enabled and hovering it with mouse the message is destroyed.

On debug i find that function leaveMouse (flash-message.js) calls the function resumeTimers on message. Because the timer is negative at this time the message is destroyed...

I need that messages stay visible until user clicks on it.

There is a way to do this ?

(sorry my poor english, i´m studying english yet)

Thanks !

image

sbatson5 commented 7 years ago

Good catch @rodrigoboni. Just added a PR to address this!