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

More than one tab is elected as a leader tab #3

Open
aminoo540 opened this issue Nov 5, 2020 · 3 comments
Open

More than one tab is elected as a leader tab #3

aminoo540 opened this issue Nov 5, 2020 · 3 comments

Comments

@aminoo540
Copy link

After opening multiple tabs, I found that more than one tab is elected as a leader tab. from 12 tabs, 5 tabs are leaders.

@jacwright
Copy link
Member

jacwright commented Oct 19, 2022

Does 3.x fix this issue?

@virtualtoy
Copy link

virtualtoy commented Jan 4, 2023

I can confirm that this issue exists. So far replicated this in Chrome. Occurs when multiple tabs are opened/reloaded about at the same time and map "tabs" contains only the current tab id. Throttling may cause this: https://stackoverflow.com/questions/59940161/is-javascripts-broadcast-channel-limited-to-one-received-message-per-second

@lianzhao
Copy link

Met the same issue, I'm using Web Locks API instead.

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

4 participants