Skip to content

Slider range is hidden but taking up space in css. #362

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
mm-wang opened this issue Jun 30, 2016 · 6 comments
Closed

Slider range is hidden but taking up space in css. #362

mm-wang opened this issue Jun 30, 2016 · 6 comments
Labels

Comments

@mm-wang
Copy link

mm-wang commented Jun 30, 2016

Hello,
I have an issue that for some reason, the range of the slider is hidden but taking up space. I'd like to remove that box since I am using angular x-editable to modify the floor and ceiling values of the range. I am using a collapsible div, but I have done a refresh of the slider during the toggle. Can you help?

Steps to reproduce

  1. Create range slider
  2. Put inside of a collapsible div using Bootstrap 3
  3. Hide limit labels

image

image

Expected behaviour

The span that is styled with "opacity: 0; left: -34.618px" should not have any content (it should not say 8-36). The span should be empty. I have other sliders that are not hidden in collapsible divs that have this span as an empty span.

Actual behaviour

The span takes up space so that I can no longer click the blue 8.

I started writing a JSFiddle, but you can't see the problem in the fiddle :/. I have other range sliders not in a collapsible div that are fine.

@ValentinH
Copy link
Member

When you start moving a slider value, does the incorrectly positioned span is move to its normal position?

@ValentinH ValentinH added the bug label Jul 1, 2016
@ValentinH
Copy link
Member

OK I could reproduce your bug in this fiddle: http://jsfiddle.net/ddfkL3ok/ When the slider is small, the hidden label is over the button..

@ValentinH
Copy link
Member

It should be fixed by 5.0.1 release. ;)

@mm-wang
Copy link
Author

mm-wang commented Jul 1, 2016

Thank you! Such a quick fix!

@mm-wang
Copy link
Author

mm-wang commented Jul 1, 2016

For some reason, I can't seem to get access through CDN or npm. Does it just take time for the new release to be registered?

@ValentinH
Copy link
Member

My bad: I forgot to publish it. Now it should be OK.

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