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

Keyboard/accessibility support #30

Open
thesimplethingsinc opened this issue Jul 13, 2021 · 2 comments
Open

Keyboard/accessibility support #30

thesimplethingsinc opened this issue Jul 13, 2021 · 2 comments

Comments

@thesimplethingsinc
Copy link

Hi,

I'm using this library to support a cross platform application. While long press works great with mouse and touch, I was wondering if there was a way to make it also work with keyboard? So for example, long pressing the 'Enter' key when focused on a button would trigger the same event?

@john-doherty
Copy link
Owner

I'm not sure that makes sense unless the item you are attempting to capture is able to receive tabbed focus?

@thesimplethingsinc
Copy link
Author

I'm not sure that makes sense unless the item you are attempting to capture is able to receive tabbed focus?

Yes, the intention was indeed to use with items able to capture tabbed focus e.g. buttons elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants