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

Safari: Slider jumps to max value after changing value in textbox #14

Closed
Stuk opened this issue Jan 9, 2012 · 1 comment
Closed

Safari: Slider jumps to max value after changing value in textbox #14

Stuk opened this issue Jan 9, 2012 · 1 comment
Assignees

Comments

@Stuk
Copy link
Contributor

Stuk commented Jan 9, 2012

http://tetsubo.org/mot/montage/examples/sink/index.html under Sliders, the last slider.

If you change the value in the textbox, either by typing or clicking the arrows and then go to drag the slider, it will jump to the maximum value.

I tried to reproduce this in a simple test case and couldn't, so it might be interacting with something else on the page.

OSX 10.7.2
Safari 5.1.1

@heatherdouglass
Copy link
Collaborator

The root cause of this issue is that the value of the slider is being set as a string instead of a number when it's set through changing the value in the textfield. Due to this the calculations for setting the slider are then performed incorrectly. The bug does not present itself in Chrome stable due to a different bug in Chrome which affects the sliders. That other bug is fixed in Google Chrome Canary and so this same slider issue is present in the Google Chrome Canary build too.

mczepiel added a commit that referenced this issue Jan 11, 2012
Fix for gh-14 slider jumps to max value after changing value in textbox
@Stuk Stuk closed this as completed Jan 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants