-
Notifications
You must be signed in to change notification settings - Fork 90
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
enabled uncontrolled/un-controlled open behaviour for DatePicker
#4500
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: b93b9e3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
c966b4f
to
f86f05b
Compare
f86f05b
to
566414a
Compare
bce766b
to
17242e8
Compare
17242e8
to
6508d4e
Compare
6508d4e
to
32e73ab
Compare
da8186f
to
882b2e2
Compare
3cea7c6
to
1ed601d
Compare
5d0a456
to
75bbd62
Compare
6c2dce1
to
0d4e04d
Compare
0d4e04d
to
68f91b6
Compare
68f91b6
to
5a2626c
Compare
- added `openOnClick`, `openOnKeyDown` and `openOnFocus` props to `DatePicker`. - revise the controlled behaviour of the `open` prop on `DatePickerOverlay`. - add examples for controlled and uncontrolled behaviour.
5a2626c
to
5554f34
Compare
5554f34
to
bcaab28
Compare
- `openOnClick` will keep the input focused - arrow key down will move focus to the calendar
bcaab28
to
8edf5fc
Compare
@jake-costa final chance for a review of your feedback before we push this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mark-tate The openOnClick and open on down arrow key press functionality is working. But I did notice the experimental time example also displays the datepicker when arrow down is pressed when focus is in the time spinbutton selector.
For the remaining a11y issues, is issue #4096 the one for the future a11y iteration that is planned?
openOnClick
prop toDatePicker
.open
prop onDatePickerOverlay
.