You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using MockInteractions.track, the track events that get fired contains wrong values for dx and dy.
Expected outcome
For example, calling MockInteractions.track(elem, 50, 0, 3), the track event is fired four times, one for each step and one for the end event. I expect all delta values in all events to be positive numbers since the direction of tracking is to the right.
Actual outcome
The first three times this event fires, the dx will be negative. The end event is the only event that has the correct deltas.
When using
MockInteractions.track
, the track events that get fired contains wrong values fordx
anddy
.Expected outcome
For example, calling
MockInteractions.track(elem, 50, 0, 3)
, the track event is fired four times, one for each step and one for theend
event. I expect all delta values in all events to be positive numbers since the direction of tracking is to the right.Actual outcome
The first three times this event fires, the
dx
will be negative. Theend
event is the only event that has the correct deltas.Live Demo
https://jsbin.com/gawecedigu/edit?html,output
Steps to reproduce
track
.MockInteractions.track(element, <any x>, <any y>)
.dy
anddx
values received by the event handler.Browsers Affected
All
The text was updated successfully, but these errors were encountered: