Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Slider] nib and cursor begin to diverge when moved really quickly back and forth #242

Closed
daniellewissc opened this issue Jan 15, 2015 · 6 comments
Labels
component: slider This is the name of the generic UI component, not the React module!

Comments

@daniellewissc
Copy link
Contributor

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 daniellewissc changed the title Slider nib and cursor being to diverge when moved really quickly back and forth Slider nib and cursor begin to diverge when moved really quickly back and forth Jan 16, 2015
@hai-cea
Copy link
Member

hai-cea commented Jun 3, 2015

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

@daniellewissc
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@hai-cea
Copy link
Member

hai-cea commented Jun 3, 2015

Ah yeh - I can reproduce now. Thanks @daniellewissc

@hai-cea hai-cea changed the title Slider nib and cursor begin to diverge when moved really quickly back and forth [Slider] nib and cursor begin to diverge when moved really quickly back and forth Jun 18, 2015
@igorbt
Copy link
Contributor

igorbt commented Oct 7, 2015

@daniellewissc, my PR #1825 fixed for me the issue that you reported. Can you also check if it was fixed for you?

@igorbt
Copy link
Contributor

igorbt commented Oct 15, 2015

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

@oliviertassinari oliviertassinari added the component: slider This is the name of the generic UI component, not the React module! label Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: slider This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

5 participants