Skip to content

Conversation

@thatblindgeye
Copy link
Contributor

What: Closes #8370

The logic for DataListItem and Tile demos for selecting an item via keyboard look okay on another look. Since the click events are on <div> elements a Space/Enter keydown won't trigger the click event, so calling an internal function works.

I did update the DataListItem logic to take into account Space key presses, though.

Additional issues:

@patternfly-build
Copy link
Contributor

patternfly-build commented Feb 21, 2023

Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

LGTM

@tlabaj tlabaj merged commit b55beb1 into patternfly:v5 Feb 27, 2023
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.

Replace keydown for Enter/Space with click events

5 participants