Skip to content

fix(ui5-li-custom): keyboard handling improvement #2870

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

Merged
merged 5 commits into from
Feb 26, 2021
Merged

fix(ui5-li-custom): keyboard handling improvement #2870

merged 5 commits into from
Feb 26, 2021

Conversation

nnaydenow
Copy link
Contributor

@nnaydenow nnaydenow commented Feb 25, 2021

Key up and key down events should be prevented when the focus is on child element of the ui5-li-custom. Exception is made for the case where Tab key is pressed so the logic about item navigation from the extended class to be executed.

Fixes: #2849

Copy link
Member

@ilhan007 ilhan007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test assertion that the focus leaves the list would be good to have

@nnaydenow nnaydenow requested a review from ilhan007 February 26, 2021 10:47
@ilhan007 ilhan007 merged commit 583f5f0 into SAP:master Feb 26, 2021
ilhan007 pushed a commit that referenced this pull request Feb 26, 2021
Key up and key down events should be prevented when the focus is on child element of the ui5-li-custom. Exception is made for the case where Tab key is pressed so the logic about item navigation from the extended class to be executed.

Fixes: #2849
ilhan007 pushed a commit that referenced this pull request Feb 26, 2021
Key up and key down events should be prevented when the focus is on child element of the ui5-li-custom. Exception is made for the case where Tab key is pressed so the logic about item navigation from the extended class to be executed.

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

Successfully merging this pull request may close these issues.

a11y issue: Focus gets trapped in ui5-li-custom list
2 participants