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

Hover Issues on touch screen devices #815

Open
vinacharya05 opened this issue Mar 18, 2022 · 2 comments
Open

Hover Issues on touch screen devices #815

vinacharya05 opened this issue Mar 18, 2022 · 2 comments

Comments

@vinacharya05
Copy link

Hi @Mottie

Actually I am using virtual-keyboard version 1.30.1.

When I run my application on touch screen devices and press on any key from virtual keyboard, the hover pseudo class which I am using for this class (.ui-keyboard-button) gets applied and it doesn't get removed when I leave the key. Can you provide your view on this issue and how this can be solved?

Thanks

@Mottie
Copy link
Owner

Mottie commented Mar 20, 2022

Hi @vinacharya05!

You can remove the buttonHover class by changing this option to be an empty string.

@vinacharya05
Copy link
Author

@Mottie Thank you for the response.

I wanted a behavior like when user presses a key from virtual keyboard on a touch screen device, press should be indicated with a color change (ex: I wanted a behavior which we usually achieve with ** :active ** pseudo class). Is that possible to achieve that kind of a behavior.

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