JaredReisinger / react-crossword

A flexible, responsive, and easy-to-use crossword component for React apps.
https://react-crossword.jaredreisinger.com
MIT License
171 stars 84 forks source link

feat: Update navigation for Tab, Enter, and Space keys #501

Closed telnicky closed 1 year ago

telnicky commented 1 year ago

This PR updates navigation for Tab, Enter, and Space.

Tab/Enter will navigate to the next clue. Shift-Tab or Shift-Enter will navigate to the previous clue. Space will move forward one square.

I tried to more closely model what the NYT puzzle does. Let me know what you think!