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

feat: improve keyboard navigation #576

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

briansmiley
Copy link

@briansmiley briansmiley commented Jan 7, 2025

  • Make tab key navigate between incomplete clues
  • Keeps spacebar behavior to handle direction swapping
  • Additionally adds behavior for jumping to new cells after entering the last character of a clue; this can be separated out if preferred and is an optional prop for CrosswordProvider defaulting to false as is

The last point in particular addresses Issue #475

- Make tab key navigate between incomplete clues
- Keeps spacebar behavior to handle direction swapping
- Refactors tab functionality to reusable "jumpToNextOpenCell" function
-If enabled, filling in the last cell in a clue jumps to appropriate next cell
-Adds this prop as true in Crossword.md example for demonstration
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