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

Focus is not set inside DateTimePicker upon open in Modal with minDate applied #4971

Closed
anthony-dandrea opened this issue Oct 5, 2023 · 0 comments · Fixed by #5078
Closed
Labels
help wanted Contributions from community are welcome

Comments

@anthony-dandrea
Copy link

anthony-dandrea commented Oct 5, 2023

What package has an issue

@mantine/core and/or @mantine/dates

Describe the bug

This may occur with other types of fields and attribute combinations. But I was able to isolate it to having a minDate set in the DateTimePicker inside of an open Modal. I am unable to use the keyboard to navigate and go through the date popover or modal.

See isolated example here.

modal

What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)

7.1.2

If possible, please include a link to a codesandbox with the reproduced problem

https://codesandbox.io/s/datepicker-in-modal-mantine-jwnnx2?file=/src/App.js

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

None

Possible fix

No response

@rtivital rtivital added the help wanted Contributions from community are welcome label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributions from community are welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants