Skip to content
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

Make timeout work when tab is inactive #390

Open
vanminhquangtri opened this issue Jan 15, 2024 · 1 comment
Open

Make timeout work when tab is inactive #390

vanminhquangtri opened this issue Jan 15, 2024 · 1 comment

Comments

@vanminhquangtri
Copy link

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
Copy link

You have to set pauseOnFocusLoss to false in the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants