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

MultiSelect: p-focus class being applied on hover #5647

Closed
omzy opened this issue Apr 26, 2024 · 1 comment
Closed

MultiSelect: p-focus class being applied on hover #5647

omzy opened this issue Apr 26, 2024 · 1 comment
Labels
Resolution: Wontfix Issue will not be fixed due to technical limitations

Comments

@omzy
Copy link

omzy commented Apr 26, 2024

Describe the bug

Seems like this was broken in 3.47.0. When you hover over an option, the p-focus class is being applied. Previously, the p-focus class would only be applied when the option was clicked (which I think is the correct behaviour). Furthermore, if you hover over an option and then hover away from the list, the option still has p-focus class.

In the reproducer link, which is using 3.46.0, the above issue is NOT occurring. Compare this to the same example in your current documentation site: https://primevue.org/multiselect/#basic

Reproducer

https://stackblitz.com/edit/g1vpgm-pj9d6v

PrimeVue version

3.51.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@omzy omzy added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 26, 2024
@tugcekucukoglu
Copy link
Member

It's a behavior change. p-focus remains an option when mouse moves out to support the keyboard accessibility.

@tugcekucukoglu tugcekucukoglu added Resolution: Wontfix Issue will not be fixed due to technical limitations and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Wontfix Issue will not be fixed due to technical limitations
Projects
None yet
Development

No branches or pull requests

2 participants