Skip to content

useDateField: Press Enter key on the field tabs back a date segment #5032

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

Closed
rodrigoschweitzer opened this issue Sep 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@rodrigoschweitzer
Copy link

rodrigoschweitzer commented Sep 6, 2023

Provide a general summary of the issue here

Using the component inside of a form, pressing the Enter key tabs back a date segment instead of submitting it.

🤔 Expected Behavior?

Should submit the form instead of tabbing back a segment.

😯 Current Behavior

it tabs back a date segment.

💁 Possible Solution

No response

🔦 Context

You can test on the useDateField docs page:

https://react-spectrum.adobe.com/react-aria/useDateField.html#usedatefield

🖥️ Steps to Reproduce

  1. Create a form with a DateField component
  2. Fill up the field
  3. Press enter

Version

3.27.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

MacOS Ventura 13.5

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

@LFDanLu
Copy link
Member

LFDanLu commented Sep 21, 2023

Closing in favor of #5102 which has comments describing the relevant code context.

@LFDanLu LFDanLu closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
@github-project-automation github-project-automation bot moved this from ✏️ To Groom to ✅ Done in RSP Component Milestones Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants