emmanuelsw / notiwind

A headless Vue 3 notification library to use with Tailwind CSS.
https://notiwind-demo.netlify.app
MIT License
277 stars 28 forks source link

Prevent Closing when hovered #1

Closed coolsam726 closed 3 years ago

coolsam726 commented 3 years ago

First of all, thanks for extending the package to support transitions and fixing the vue 3 + vite issues.

This is a feature request, to have the notification staying active (prevent closing) when the user hovers on the notification. This will allow one to examine the message/error carefully in case they need more time to investigate it.

coolsam726 commented 3 years ago

@emmanuelsw I have an idea of a PR I can do to support this, but I would like to hear your thoughts on the same first.

emmanuelsw commented 3 years ago

Hey! you're welcome. I think it would be nice to add that functionality with the possibility to choose whether to enable it or not. Many of the notification libraries provide the same functionality so I wouldn't have a problem with this one doing it too.