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

Select: In case of Filter and AutoFocusFilter enabled focus is lost #6194

Closed
Sandip124 opened this issue Aug 7, 2024 · 0 comments · Fixed by #6201
Closed

Select: In case of Filter and AutoFocusFilter enabled focus is lost #6194

Sandip124 opened this issue Aug 7, 2024 · 0 comments · Fixed by #6201
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Sandip124
Copy link

Describe the bug

When enabling filter and autoFilterFocus on primevue select , then no options are selected (may be due to missing props auto item select just like in AutoComplete) and just closes and thus focus is lost

Reproducer

https://stackblitz.com/edit/ty7yqi?file=src%2FApp.vue

PrimeVue version

3.X.X and 4.X.X

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. Focus on select box, that should automatically focus on the filter and without typing anything and selecting any of this options, just hitting enter button will loose the focus.

Expected behavior

If we dont use filter then focus is working just fine, and also with Auto Filter Focus enable or not enabled and importantly filter enabled, shouldnot loose focus from the select.

@Sandip124 Sandip124 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 7, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working Component: Accessibility Issue or pull request is related to WCAG or ARIA and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 21, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.0.5 milestone Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
2 participants