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

Modal prop of Datepicker does not work #3106

Open
1 of 3 tasks
kg-and-digital opened this issue Dec 3, 2024 · 0 comments
Open
1 of 3 tasks

Modal prop of Datepicker does not work #3106

kg-and-digital opened this issue Dec 3, 2024 · 0 comments
Labels

Comments

@kg-and-digital
Copy link

Description

When I add modal prop to <DatePicker.Root> I expect focus to be trapped within the calendar and not be able to access any elements outside.

Link to Reproduction (or Detailed Explanation)

See steps to reproduce

Steps to Reproduce

  • Ensure you pass modal prop to <DatePicker.Root> element
  • Trigger the calendar to open
  • Using keyboard press tab to advance focus
  • You will end up leaving the calendar and focussing on another element or browser element.

Ark UI Version

4.4.0

Framework

  • React
  • Solid
  • Vue

Browser

Chrome

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant