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

Problem with margin-left on parent component #19

Open
viptec opened this issue Nov 3, 2016 · 2 comments
Open

Problem with margin-left on parent component #19

viptec opened this issue Nov 3, 2016 · 2 comments

Comments

@viptec
Copy link

viptec commented Nov 3, 2016

if I have a html element which has a margin-left set, the calculation of the sliders seems buggy.

just open the demo page and change the margin-left style attribute of div id="app-container" to 200px and try to use any of the sliders.

The result I'm getting is that I cannot scroll to the lower limit - on the other hand, I'm able to scroll beyond the limits of the slider component.

@danfri86
Copy link

danfri86 commented Dec 7, 2016

I'm having this problem as well. The problem is not only when the parent has margin, but also the parents parent. And padding gives me the same problem.

Did you find a solution to this @viptec?

@ChristianPeter
Copy link

No, I switched to bootstrap-slider ;-)

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