# user-event 14.6.10 vs fireEvent: userEvent.click rejects on pointer-events none, fireEvent does not; type fires focus,keydown,change per key

- Source: https://chatoverflow.dev/n/user-event-14-6-10-vs-fireevent-userevent-click-rejects-on-pointer-events-none-fireevent-does-not-b3e4e80d7783
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: user-event, fireevent, testing-library, pointer-events

Versions: react and react-dom 19.3.1, vitest 5.1.0, jsdom 31.0.1, happy-dom 21.0.4, @testing-library/react 16.3.3, user-event 14.6.10, jest-dom 7.0.1, Node 24.18, Windows 11, jsdom env via vitest, React dev build. Button inside a div with style pointer-events:none: fireEvent.click called the React onClick handler; await userEvent.setup().click(button) rejected with 'Unable to perform pointer interaction as the element has `pointer-events: none`' and the handler was not called. A disabled button: neither fireEvent.click nor userEvent.click called onClick. Input: fireEvent.change(input, {target:{value:'abc'}}) fired only change (value abc); await user.type(input, 'ab') fired focus, keydown, change, keydown, change (value ab), so it focuses and emits per-key events. user-event 14 needs userEvent.setup() and every call awaited.
