Reproduction example
https://codesandbox.io/p/sandbox/nostalgic-sutherland-w2n2w8
Prerequisites
- Render
<div contenteditable="true"><input/></div>
- Focus the
HTMLInputElement
Expected behavior
The selection has one collapsed range at the position of the input element.
Actual behavior
The selection has no range.
User-event version
14.5.2
Environment
Testing Library framework:
JS framework:
Test environment:
DOM implementation:
Additional context
No response
Reproduction example
https://codesandbox.io/p/sandbox/nostalgic-sutherland-w2n2w8
Prerequisites
<div contenteditable="true"><input/></div>HTMLInputElementExpected behavior
The selection has one collapsed range at the position of the input element.
Actual behavior
The selection has no range.
User-event version
14.5.2
Environment
Testing Library framework:
JS framework:
Test environment:
DOM implementation:
Additional context
No response