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

1.6.6 breaks tabbing for a datetime field in a modal #1665

Closed
davecarlson opened this issue Jul 12, 2022 · 1 comment
Closed

1.6.6 breaks tabbing for a datetime field in a modal #1665

davecarlson opened this issue Jul 12, 2022 · 1 comment
Assignees

Comments

@davecarlson
Copy link

What package within Headless UI are you using?
@headlessui/react

What version of that package are you using?
1.6.6

What browser are you using?
Chrome

Describe your issue

In 1.6.5 and below, if you had a datetime field, like below in a modal

<input type="datetime-local" />

Then when you clicked in and pressed tab, it would tab between the different parts of the date as expected. Since 1.6.6, pressing tab skips to the next field.

I suspect it is something to do with the changes in #1440 to resolve #467

@RobinMalfait RobinMalfait self-assigned this Jul 12, 2022
@RobinMalfait
Copy link
Member

RobinMalfait commented Jul 12, 2022

Hey! Thank you for your bug report!
Much appreciated! 🙏

I can't seem to reproduce this (tested in Safari, Chrome and Firefox): https://ci3hks.csb.app/

Please open an issue with a minimal reproduction repo attached or a CodeSandbox.

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

No branches or pull requests

2 participants