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

fix: call click on checkbox Space key up #239

Merged
merged 2 commits into from
Nov 8, 2023
Merged

Conversation

web-padawan
Copy link
Member

Description

Part of vaadin/web-components#6737

This change adds manual click() call on keyup event for better backwards compatibility.

Alternatively, we could just remove event.preventDefault() from keydown and keyup listeners.
This enables native click event to be fired on Space key press, at least in modern browsers.

Type of change

  • Bugfix

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.

2 participants