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 table bubble menu debouncing and focus #14

Merged
merged 1 commit into from
Jun 11, 2023

Conversation

sjdemartini
Copy link
Owner

Without these changes, since introducing leading: true to the outer debouncedRender, clicking a button would prematurely close the bubble menu. Now instead, we use a debounced focused state to determine whether the menu is open, and just debounce the rendering of the TableMenuBar itself (not the whole bubble menu).

Without these changes, since introducing `leading: true` to the outer
`debouncedRender`, clicking a button would prematurely close the bubble
menu. Now instead, we use a debounced focused state to determine whether
the menu is open, and just debounce the rendering of the TableMenuBar
itself (not the whole bubble menu).
@sjdemartini sjdemartini merged commit dc18588 into main Jun 11, 2023
@sjdemartini sjdemartini deleted the fix-table-bubble-menu branch June 11, 2023 06:30
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

Successfully merging this pull request may close these issues.

1 participant