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(ui5-checkbox): improved key down behavior for readonly state #8226

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

plamenivanov91
Copy link
Contributor

Previously while holding "Space" or "Enter" key on a readonly checkbox the "active" attribute was being applied on the checkbox main DOM node. This was resulting in bluish tint over the readonly checkbox indicating changing of value where this shouldn't be possible.

This wrong behavior is now fixed and "Space" or "Enter" keys down no longer affect readonly checkbox.

Fixes: #7807

Previously while holding "Space" or "Enter" key on a readonly checkbox
the "active" attribute was being applied on the checkbox main DOM node.
This was resulting in bluish tint over the readonly checkbox indicating
changing of value where this shouldn't be possible.

This wrong behavior is now fixed and "Space" or "Enter" keys down no
longer affect readonly checkbox.

Fixes: SAP#7807
@plamenivanov91 plamenivanov91 merged commit faec0ef into SAP:main Feb 2, 2024
8 checks passed
tsanislavgatev pushed a commit that referenced this pull request Feb 20, 2024
* fix(ui5-checkbox): improved key down behavior for readonly state

Previously while holding "Space" or "Enter" key on a readonly checkbox
the "active" attribute was being applied on the checkbox main DOM node.
This was resulting in bluish tint over the readonly checkbox indicating
changing of value where this shouldn't be possible.

This wrong behavior is now fixed and "Space" or "Enter" keys down no
longer affect readonly checkbox.

Fixes: #7807
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.

[checkbox]: mouse cursor and keypressed state for readonly checkbox
2 participants