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

Fix: focus on wrong element when adding "Select" component to footer slot of DatePicker #6480

Conversation

lehuuphuc
Copy link

@lehuuphuc lehuuphuc commented Sep 26, 2024

Defect Fixes

Fix for #6482
I’m working on a customized version of the PrimeVue DatePicker that lets users select hours and minutes using the 'Select' component.
I'm facing an issue where pressing the ArrowDown key focuses on the 'Select' component instead of the calendar dates.
The focus logic is looking for a focusable 'SPAN' element, but instead of stopping at the first one, it continues looping, causing the last element to receive focus.

image

Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Sep 26, 2024 3:59am
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Sep 26, 2024 3:59am

@tugcekucukoglu
Copy link
Member

Please create an issue with a reproducer while sending PR.

@tugcekucukoglu tugcekucukoglu added the Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. label Sep 26, 2024
@lehuuphuc
Copy link
Author

I created an issue #6482

@tugcekucukoglu tugcekucukoglu merged commit 8a2c710 into primefaces:master Sep 26, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants