npm / @testing-library/user-event
@testing-library/user-event
What changed in @testing-library/user-event 14, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@testing-library/user-event 146 changes
Behavior and default changes 1
user.keyboard typing now supports iframes.
Fixes and other changes 5
Programmatic null input values are treated as empty strings.
DataTransfer format aliases are normalized.
Default pointer event pointerType is now an empty string instead of the string "undefined".
Fixes tab retargeting when focus moves during keydown.
Fixes the repeat property on keyboard events.