We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version 10.5.0 has introduced an unexpected behaviour that tabbing over a dropdown component triggers an onChange event
10.5.0
https://codesandbox.io/p/sandbox/primereact-test-forked-6qvhkq
18.x
ALL
Create React App (CRA)
No response
onChange should only trigger when a selection is made
The text was updated successfully, but these errors were encountered:
On top of that, tab should jump to the next input if the dropdown is not open, but we stay in the dropdown. 10.4.0 works properly.
I assume the new behaviour is a side effect of the "Input accessibility" changes - (is the linked issue private ? #5991)
Sorry, something went wrong.
Yes it is related to the accessibility. It seems PrimeVue behaves correctly: https://primevue.org/dropdown/
So maybe we need to look and port their fixes?
Fix primefaces#5942: Dropdown tabbing
a84b697
420e51f
af4caf3
Fix #5942: Dropdown tabbing (#5952)
a17d55b
melloware
Successfully merging a pull request may close this issue.
Describe the bug
Version
10.5.0
has introduced an unexpected behaviour that tabbing over a dropdown component triggers an onChange eventReproducer
https://codesandbox.io/p/sandbox/primereact-test-forked-6qvhkq
PrimeReact version
10.5.0
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
onChange should only trigger when a selection is made
The text was updated successfully, but these errors were encountered: