addyosmani / addyosmani/visibly.js
same Event Firing multiple time.
Aperta
- Lingua principale
- JavaScript
- Stelle
- 221
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
visibly.onVisible and visibly.onHidden both are firing multiple time. I am working with socket, I have to disconnect socket on hidden and connect socket again on visible. But, due to multiple occurrence I am getting issue of multiple socket ids. I can not change Socket Implementation as of now.
But, what I want is to limit multiple execution to single time only.
Is there any idea, why this is happening, I have only single callback set up for both events.
Any type is really appreciable. Thanks
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.