You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the DatePicker component is inside of the Drawer component that is in overlay mode and the allowTextInput property of the DatePicker is set to true, the user input is not available as the focus shifts out of the date input when the user clicks on the datepicker the second time.
This not only disables the user input when it's inside the Drawer element, but the user is also unable to clear the date input.
Expected Behavior
A DatePicker supports user input. Clicking the input field will open the DatePicker, and clicking the field again will dismiss the DatePicker and allow text input. When using keyboard navigation (tabbing into the field), text input is allowed by default, and pressing Enter will open the DatePicker.
I can repro, but this is pretty flaky. Focus is lost and moves to the browser, then the content is unreachable on tab or shift tab. I did notice that if you open the picker with the keyboard and close it with escape clicking works again 🤔This will need further investigation, but I suspect it's something coming from Dialog.
Component
Accordion
Package version
9.56.2
React version
18.3.1
Environment
Current Behavior
When the DatePicker component is inside of the Drawer component that is in overlay mode and the allowTextInput property of the DatePicker is set to true, the user input is not available as the focus shifts out of the date input when the user clicks on the datepicker the second time.
This not only disables the user input when it's inside the Drawer element, but the user is also unable to clear the date input.
Expected Behavior
A DatePicker supports user input. Clicking the input field will open the DatePicker, and clicking the field again will dismiss the DatePicker and allow text input. When using keyboard navigation (tabbing into the field), text input is allowed by default, and pressing Enter will open the DatePicker.
Reproduction
https://stackblitz.com/edit/nmw1tv
Steps to reproduce
Setup:
Steps to reproduce:
See a Stackblitz reproduction which demonstrates the bug: https://stackblitz.com/edit/nmw1tv
Are you reporting an Accessibility issue?
None
Suggested severity
Medium - Has workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: