soanvig / mm-jsr

Range input solution without dependencies
https://soanvig.github.io/mm-jsr
GNU Lesser General Public License v3.0
56 stars 16 forks source link

bug on mouseup on a bar #107

Closed checksummaster closed 3 years ago

checksummaster commented 3 years ago

If you drag a JSR.bar and release the mouse keeping the cursor on the bar, the nearest point move (look like the mouse up on a bar does the same job as a mouse up on a point).

If you release the mouse anywhere but on the bar, it works well.

You can reproduce on https://soanvig.github.io/mm-jsr/#demo (the first slider).

soanvig commented 3 years ago

Confirmed, thank You :-)

It's happening because both handlers are working and the same time, and they should not.

I can look into this soon, when I have free time.

soanvig commented 3 years ago

Released in v2.1.3