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 - autoFilterFocus and autoOptionFocus not working together #7300

Open
4 tasks
J-Michalek opened this issue Feb 22, 2025 · 0 comments · May be fixed by #7299
Open
4 tasks

MultiSelect - autoFilterFocus and autoOptionFocus not working together #7300

J-Michalek opened this issue Feb 22, 2025 · 0 comments · May be fixed by #7299
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@J-Michalek
Copy link
Contributor

Describe the bug

When using both autoFilterFocus and autoOptionFocus the first option would get focus for a brief moment, but then it would get unselected once the filter input gets the focus.

Pull Request Link

#7299

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

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

Environment

Stackblitz

Vue version

3.2.45

PrimeVue version

4.2.5

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to reproducer
  2. Open the select
  3. Watch the first option get selected and unselected quickly after as the filter input get focused

Expected behavior

The filter input should be focused and the first option should be selected.

@J-Michalek J-Michalek added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant