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

Date ambiguity sliders get stuck when the left slider is dragged all the way to the right #49

Closed
davidmcclure opened this issue Nov 14, 2011 · 1 comment
Assignees
Labels

Comments

@davidmcclure
Copy link
Contributor

The problem the right slider is statically set to have a higher z-index, so when the left slider is pulled all the way to the left is gets slipped beneath the right slider. But then the right slider can't be pulled righwards "off" of the slider track, so neither slider can be moved at all.

To fix, on mousedown on either of the sliders set that slider's z-index to 2 (or whatever) and the other slider to 1 (or whatever). Do that toggle on each mousedown, and the most recently dragger slider will always be accessible to the cursor, meaning that any action can always be undone.

@ghost ghost assigned jeremyboggs Nov 14, 2011
@ghost ghost assigned davidmcclure May 24, 2012
@davidmcclure
Copy link
Contributor Author

Fixed by 6f013c2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants