Wrong Selection
when <input/>
inside contenteditable is focused
#1248
Labels
bug
Something isn't working
Selection
when <input/>
inside contenteditable is focused
#1248
Reproduction example
https://codesandbox.io/p/sandbox/nostalgic-sutherland-w2n2w8
Prerequisites
<div contenteditable="true"><input/></div>
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
The text was updated successfully, but these errors were encountered: