Maronato / vue-toastification

Vue notifications made easy!
https://vue-toastification.maronato.dev
MIT License
3.03k stars 139 forks source link

Make timeout work when tab is inactive #390

Open vanminhquangtri opened 5 months ago

vanminhquangtri commented 5 months ago

Hello,

My app is: "nuxt": "^2.15.8", "vue-toastification": "^1.7.14"

As I see, the time will not work when the tab is in-active. What I expected is to close the toast after the timeout, even if the tab is in-active. I have read the docs but can't find any configuration for this.

Can you please advise if this library support this?

Thank you, Van Minh

thehairy commented 3 months ago

You have to set pauseOnFocusLoss to false in the configuration.