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

feat(ui5-color-palette*): add mobile focus for external input devices #9770

Merged
merged 4 commits into from
Oct 5, 2024

Conversation

hinzzx
Copy link
Contributor

@hinzzx hinzzx commented Aug 28, 2024

ColorPaletteItem elements can now receive focus when using keyboards on mobile devices. Focus outline is now displayed via CSS pseudo-classes.

On mobile the default case still stands, where there isn't focus when selecting a color.

Default mobile interaction

2024-08-28_14-45-51

Mobile interaction with external keyboard

2024-08-28_14-45-44

Related to: #8322

@hinzzx hinzzx marked this pull request as ready for review August 30, 2024 13:28
Copy link
Contributor

@didip1000 didip1000 left a comment

Choose a reason for hiding this comment

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

There's issues with the focus on safari - if you use the keyboard and only a keyboard to navigate, the focus looks fine, but the moment you switch from using a keyboard, to tapping, and back to keyboard, the focus is lost when you try to navigate between the palette items.

Copy link
Contributor

@didip1000 didip1000 left a comment

Choose a reason for hiding this comment

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

We agreed that mixing using tap and keyboard interchangably is not a valid use-case and focus works when using just the keyboard

@hinzzx hinzzx merged commit 4c481e6 into main Oct 5, 2024
10 checks passed
@hinzzx hinzzx deleted the cp-external-keyboard-mouse-mobile-focus branch October 5, 2024 06:47
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.

3 participants