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
Be on laptop/desktop such that the desktop variant of the DatePicker Component will be rendered. (Typing is not allowed in the mobile variant).
Have dependencies installed as specified in the provided codesandbox
Have a react component that renders the Material UI DatePicker Component
Have a test that uses userEvent.type to type into the DatePicker Component
Expected behavior
When the DatePicker component has focus before userEvent.type is called, then typing should occur and the field value should change accordingly.
Actual behavior
When the DatePicker component has focus before userEvent.type is called, then typing seems not to occur because the value of the field does not change.
User-event version
14.1.1
Environment
See package.json of codesandbox
Additional context
Example tests are provided in App.test.jsx in the codesandbox
The text was updated successfully, but these errors were encountered:
Reproduction example
https://codesandbox.io/p/sandbox/userevent-type-material-ui-datepicker-bug-px38kj
Prerequisites
Expected behavior
When the DatePicker component has focus before userEvent.type is called, then typing should occur and the field value should change accordingly.
Actual behavior
When the DatePicker component has focus before userEvent.type is called, then typing seems not to occur because the value of the field does not change.
User-event version
14.1.1
Environment
See package.json of codesandbox
Additional context
Example tests are provided in App.test.jsx in the codesandbox
The text was updated successfully, but these errors were encountered: