Open
Description
Reproduction example
https://github.com/IanVS/storybook-testing-user-event-click-focus
Prerequisites
- Using V14, try to click an input field:
await userEvent.click(getByRole('textbox'));
for example
Expected behavior
The input element should be fully focused, ready to accept user input (flashing cursor).
Actual behavior
The input is half-way focused, with a focus ring, but no flashing cursor.
User-event version
14.3.0
Environment
Testing Library framework: @testing-library/[email protected]
JS framework: [email protected]
Test environment: [email protected]
DOM implementation: browser
Additional context
This was working correctly in V13. I have instructions in the README of the reproduction of how to verify.