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

Is idle vue supports foe multiple tabs ? #56

Open
html-helpers opened this issue Sep 27, 2022 · 1 comment
Open

Is idle vue supports foe multiple tabs ? #56

html-helpers opened this issue Sep 27, 2022 · 1 comment

Comments

@html-helpers
Copy link

How to enable support for multiple tabs opened of the same app ?

Currently, plugin works fine for single tab.

@ArnoldNicole
Copy link

I did override the value of this.$store.state.idleVue.isIdle in a tab that document.hidden is true

computed: {
    AppIsIdle() {
      if (document.hidden) {
        return false;
      } else {
        return this.$store.state.idleVue.isIdle;
      }
    },
  }

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