new PointerEvent('xxx') on most browser implementations should set them 1 by default.
Also some libraries check if a pointer event is virtual or not by looking at the geometry values, while we expect this library to work exactly as the actual interactions.
What:
This PR updates
PointerEvent
to have default width / height set to1
as per the spec.Why:
new PointerEvent('xxx')
on most browser implementations should set them1
by default.Also some libraries check if a pointer event is virtual or not by looking at the geometry values, while we expect this library to work exactly as the actual interactions.
How:
Just use
1
as default values on them.Checklist: