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

Handle spacebar renaming edgecase #129

Merged
merged 1 commit into from
Aug 17, 2024
Merged

Conversation

friendlymatthew
Copy link
Member

Spacebar's key() value is " ". With #127 merged, we caught an edge case when we str::trim key values, we lose the spacebar key. This commit explicitly handles this case with the official namespace as spacebar.

For user experience, this commit also filtermaps space and " ".

@friendlymatthew friendlymatthew mentioned this pull request Aug 17, 2024
9 tasks
@mondeja
Copy link
Collaborator

mondeja commented Aug 17, 2024

Sorry, I currently don't have so much time to keep an eye on leptos-hotkeys. I'll be back on board later, captain!

@mondeja mondeja removed their request for review August 17, 2024 01:10
@friendlymatthew friendlymatthew merged commit 95fdd42 into main Aug 17, 2024
7 checks passed
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.

2 participants