Skip to content

fix: Do not move backward through DateField segments when pressing Enter #8279

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

devongovett
Copy link
Member

Fixes #5102

This usePress is intended to handle clicking/tapping outside the segments in the field's whitespace. That should focus the last segment. It should do nothing when pointerType is keyboard.

@rspbot
Copy link

rspbot commented May 21, 2025

snowystinger
snowystinger previously approved these changes May 22, 2025
LFDanLu
LFDanLu previously approved these changes May 23, 2025
@LFDanLu LFDanLu added this pull request to the merge queue May 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch May 23, 2025
@devongovett devongovett dismissed stale reviews from LFDanLu and snowystinger via 847b7eb May 23, 2025 23:23
@rspbot
Copy link

rspbot commented May 23, 2025

Build successful! 🎉

@devongovett devongovett enabled auto-merge May 23, 2025 23:33
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

Successfully merging this pull request may close these issues.

DatePicker goes backward through segments on Enter
4 participants