The container element should also get the pointer event.
The container element does not get an event.
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^14.0.0",
"babel-jest": "^27.4.5",
"jest": "^28.0.3"
Reproduction example
https://codesandbox.io/s/cool-leftpad-3djsvy?file=/README.md
Prerequisites
<div id="container"><div id="child">Content</div></div>)await userEvent.hover(screen.getByText("Content"));to trigger apointerentereventExpected behavior
The container element should also get the pointer event.
Actual behavior
The container element does not get an event.
User-event version
14.1.1
Environment
See https://github.com/Parnswir/user-event-14-hover-reproduction for working example with v13.5 (Parnswir/user-event-14-hover-reproduction@9d64c4c) and broken example with v14 (Parnswir/user-event-14-hover-reproduction@3a24bf0)
Additional context
Originally discussed in #944
cc: @ph-fritsche