Releases: testing-library/user-event
Releases ยท testing-library/user-event
v14.6.1
14.6.1 (2025-01-21)
Bug Fixes
- correct description for
delay
option (#1175) (2edf14d) - keyboard: add
ContextMenu
todefaultKeyMap
(#1079) (3e471d1) - keyboard: add brackets to
defaultKeyMap
(#1226) (543ecb0) - keyboard: walk through radio group per arrow keys (#1049) (bf8111c)
- pointer: dispatch mouse events if
pointerdown
isdefaultPrevented
(#1121) (f681f7b) - pointer: set
button
andbuttons
properties onPointerEvent
(#1219) (6614f72) - pointer: use
1
as default value forPointerEvent.width
andPointerEvent.height
(#1224) (f0468d0) - prevent
click
event loop on form-associated custom element (#1238) (465fc7e) - prevent
click
event on non-focusable control (#1130) (e429094) - upload: apply
accept
filter more leniently (#1064) (a344ad4)
v14.6.0
14.6.0 (2025-01-15)
Features
Bug Fixes
- clipboard: await
DataTransferItem.getAsString()
callback (#1251) (7b11b0e) - event: assign pointer coords to MouseEvent (#1039) (8528972)
- pointer: check
PointerCoords.x
inisDifferentPointerPosition
(#1216) (75edef5) - pointer: check all fields of
PointerCoords
inisDifferentPointerPosition()
(#1229) (5f3d28f)
v14.5.2
v14.5.1
v14.5.0
v14.4.3
v14.4.2
v14.4.1
v14.4.0
14.4.0 (2022-08-02)
Features
Bug Fixes
- event: be robust against incomplete event implementations (#1009) (289828b)
- upload: be robust against missing FileList implementation (#1007) (a46b4d7)
- keyboard: switch modifier state of lock keys on the correct event (#1003) (2852509)
- keyboard: remove platform-specific additional key events for
Control
onAltGraph
(#1003) (2852509) - pointer: dispatch
contextmenu
events withdetail: 0
(#1003) (2852509) - pointer: always set
PointerEvent.isPrimary
(#1003) (2852509) - pointer: set
button
property on pointer events separately from legacy mouse events (#1003) (2852509) - pointer: click closest common ancestor if
mousedown
andmouseup
happen on different elements (#1003) (2852509) - pointer: omit click event on release if another button is released first (#1003) (2852509)
- pointer: dispatch
mouseover
,mouseenter
andmousemove
on disabled elements (#1003) (2852509) - pointer: prevent
mouse*
events perpointerdown
event handler (#1003) (2852509) - pointer: dispatch
*out
and*over
events when moving into / out of nested elements (#1003) (2852509) - pointer: dispatch
*enter
and*leave
events on ancestors (#1003) (2852509)