Skip to content

Floor and Ceiling labels not shown as expected with high precision sliders #446

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

Closed
jlynde opened this issue Nov 2, 2016 · 4 comments
Closed
Labels

Comments

@jlynde
Copy link

jlynde commented Nov 2, 2016

Steps to reproduce

  1. Set precision to 3
  2. Set step to 0.001
  3. Set rightToLeft to true
  4. Notice how the number of digits displayed affects whether or not the floor and ceiling labels are visible.

Demo: http://jsfiddle.net/jlyndesensus/ruwfq48t/7/

Expected behaviour

I would expect that once there is enough room to display the label it should be displayed. From that point on, moving the value selector further away should not cause it to be hidden again.

Actual behaviour

Notice how the floor label is NOT shown until we move all the way to -1 and then is hidden again when we move to -1.001 even though there is plenty of room to display it.

A similar thing happens on the ceiling side.

@ValentinH ValentinH added the bug label Nov 2, 2016
@ValentinH
Copy link
Member

Indeed, I have also noticed this behavior in other examples. I'll take a look when I get some time.

@ValentinH
Copy link
Member

Also reminder to myself: Remove the right: 0 on rz-ceil added in d19a4dd

@jlynde
Copy link
Author

jlynde commented Nov 2, 2016

Thanks ValentinH! It probably does not matter now, but I will mention that I tried this with version 5.5.1 and 5.8.1 and found the same behavior with each. I appreciate the quick response!

@ValentinH
Copy link
Member

@jlynde this is fixed ;)

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