user-event
user-event copied to clipboard
fix(pointer): compare `x` against `x` not `y` in `isDifferentPointerPosition()`
What:
Fixing logic in isDifferentPointerPosition() where we compare y against y but we compare x also against y.
Why:
I can only imagine this is a bug.
How:
Just change x to y.
Checklist:
- N/A Documentation
- [x] Tests
- [x] Ready to be merged
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
closing in favor of #1216