addyosmani / addyosmani/visibly.js

same Event Firing multiple time.

オープン
#14 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
221
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。