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

Focus handling compatible #565

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

Conversation

ArakliotisStelios
Copy link

@ArakliotisStelios ArakliotisStelios commented Nov 11, 2021

Inspired by #449. I tried to focus handling without the need of React hooks.

Created an index class for each navigable tile and then on Calendar.jsx listen for keypresses and handle the focus.

Currently not changing months, years etc on edge tiles and not sure how this would work on disabled ones.

Tested this on sample folder my importing the local build version.

Focus-Handling.mov

@pekala
Copy link

pekala commented Jan 13, 2022

@wojtekmaj If you don't plan deprecating support for React <16.3 soon as required by #449 it would be cool to merge this one instead. Any thoughts?

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.

3 participants