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

Fix debounce interference between multiple regular-table #158

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

texodus
Copy link
Member

@texodus texodus commented Mar 3, 2022

Calls to <regular-table>'s async .draw() method are debounced while the previous .draw() call is still being processed. Calls debounced in this manner are then squashed when the previous call completes, with only the last such call being invoked, the assumption being that all previous calls have been superseded. The async mutex which implements the debounce behavior was mistakenly set to the class object however, causing .draw() calls to multiple <regular-table>s on the same page to debounce each other; this PR moves the async mutex to the instance instead.

@texodus texodus added the bug Concrete, reproducible bugs label Mar 3, 2022
@texodus texodus merged commit 5e3f4bc into master Mar 3, 2022
@texodus texodus deleted the fix-multi-debounce branch March 3, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant