material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[slider] nib and cursor begin to diverge when moved really quickly back and forth

Open daniellewissc opened this issue 11 years ago • 6 comments

it doesnt even have to move "that" fast to start to diverge. its annoying because the onChange handler reports relative to the visible nub, but when you let go it snaps back to the actual position of the mouse and reports a final onChange for that position which can be a decent distance. when you have the slider mapped to something visible it can be quite jarring and frustrating.

daniellewissc avatar Jan 15 '15 01:01 daniellewissc

@daniellewissc Is this problem still happening for you? I can't seem to reproduce this.

hai-cea avatar Jun 03 '15 21:06 hai-cea

it happens for me on http://material-ui.com/#/components/sliders. did you try holding onto the slider and moving the cursor side to side really quick? after i do that for about 3-5 seconds its always at least 2 cursor widths off of the little nub.

daniellewissc avatar Jun 03 '15 21:06 daniellewissc

heres a video of the bug happening to me http://gfycat.com/HoarseConcreteCuckoo

daniellewissc avatar Jun 03 '15 21:06 daniellewissc

Ah yeh - I can reproduce now. Thanks @daniellewissc

hai-cea avatar Jun 03 '15 22:06 hai-cea

@daniellewissc, my PR https://github.com/callemall/material-ui/pull/1825 fixed for me the issue that you reported. Can you also check if it was fixed for you?

igorbt avatar Oct 07 '15 11:10 igorbt

@daniellewissc bug was fixed in PR #1825 and merged, please retest and close.

igorbt avatar Oct 15 '15 20:10 igorbt