-
-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
Describe the bug
drag test helper can produce a division by 0, which causes an error for triggerEvent because the value is Infinity
To Reproduce
Reproduction unsure, but only seems to happen in headless test mode.
Expected behavior
Avoid the division by 0
Additional context
The offending line
const scale = clientHeight / (rect.bottom - rect.top);
Metadata
Metadata
Assignees
Labels
No labels