desmosinc / mathquill

Magic textboxes where you can type math as easily as writing!
mathquill.com
137 stars 42 forks source link

Fix visual test that redirects mousedowns from a larger target area #240

Closed jwmerrill closed 2 years ago

jwmerrill commented 2 years ago

Update visual test "Touch taps/clicks/mousedown to drag should work anywhere in the blue box" to trigger native DOM events instead of jQuery events.

MathQuill no longer listens for jQuery triggered events. To get MQ to respond to triggered events, it is now necessary to use native DOM events.

Fixes https://github.com/desmosinc/mathquill/issues/236

jackschmidt commented 2 years ago

I think looks good. My only comment is MouseEvent seems better, but the current version does work (and matches the old behavior). Thank you!