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
It looks like isClickableInput is how this decides whether a keyup event also sends a click event. The solution might be to add isElementType(element, 'details') to the check.
Reproduction example
https://codesandbox.io/p/sandbox/still-sound-xhs3hn
Prerequisites
details
andsummary
element with collapsible contentsummary
elementuser.keyboard('[Enter]')
oruser.keyboard('[Space]')
should triggerdetails
to be openExpected behavior
user.keyboard('[Enter]')
oruser.keyboard('[Space]')
should triggerdetails
to be openActual behavior
user.keyboard('[Enter]')
oruser.keyboard('[Space]')
does NOTdetails
to be openUser-event version
14.5.1
Environment
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: