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

Prevent multiple taps on all Button components #2844

Open
wants to merge 1 commit into
base: release-1.0
Choose a base branch
from

Conversation

albullington
Copy link
Collaborator

Adds a brief debounce to <Button /> to make sure the user cannot press the button in rapid succession and thereby get lost in a navigational time warp. (Like needing to navigate back through multiple stacked versions of Suggestions.)

* Add debounce to Button to make sure users can't double tap any buttons / navigate twice

* Fix tests by mocking the Button component with a quick debounce
@albullington albullington requested a review from jtklein April 9, 2025 17:24
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