LeaVerou / multirange

A tiny polyfill for HTML5 multi-handle sliders
http://projects.verou.me/multirange/
MIT License
607 stars 82 forks source link

Fix for moving the closest hanlde #43

Closed sercxjo closed 4 years ago

sercxjo commented 4 years ago

Moving the closest handler has stopped working in Chrome (since version 53, the isTrusted flag is set to false for events created in a script, and the default action is not called for them). In addition, the comparison implied min = 0, which is not always correct.

LeaVerou commented 4 years ago

Hey, thanks for the contribution! Have you tested this in Safari and Firefox?

sercxjo commented 4 years ago

Yes, only on Firefox

LeaVerou commented 4 years ago

Merged, thanks! Hopefully if there's an issue in Safari someone else will submit a fix.