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

Calendar | Date Picker | Cannot read properties of undefined ( reading 'focus') #7062

Closed
haydencordeiro opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@haydencordeiro
Copy link

Primevue version v3 and v4

https://primevue.org/datepicker/
To reproduce the issue on the min/max date picker follow these steps:

  1. Go to a disabled month (Outside the date range)
  2. Press the esc key (Calendar Component should close)
  3. Now tab into the calendar input (The calendar pop up should open)
  4. Press the down arrow key entrv.09f22136.is:1
    TypeError: Cannot read properties of undefined (reading 'focus') at Proxy.trapFocus (Calendar.cf9845ff.js:1:39785)
@mertsincan mertsincan added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Jan 9, 2025
@mertsincan mertsincan added this to the 4.3.0 milestone Jan 9, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Jan 9, 2025
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jan 9, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeVue Jan 9, 2025
@haydencordeiro
Copy link
Author

Can we also make the fix for the v3 calendar?

tugcekucukoglu added a commit that referenced this issue Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
Status: Done
Development

No branches or pull requests

3 participants