Is idle vue supports foe multiple tabs ?
html-helpers opened this issue · 1 comments
html-helpers commented
How to enable support for multiple tabs opened of the same app ?
Currently, plugin works fine for single tab.
ArnoldNicole commented
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;
}
},
}