-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pathslider responsive #9
Comments
Hi @rr20eid10! What exactly do you mean by responsive? Currently, if you resize the browser window, the grip position is updated to ensure it is still positioned correctly on the curve. |
I'm not sure what's wrong but when I resize the browser (Chrome 52.0.x) the svg graph resizes, but the slider isn't resizing. screen <600px
|
Would you please set up a JSFiddle demo. And make sure to use the files from the gh-pages domain: |
Hmm, maybe you can try this code: http://stackoverflow.com/questions/4288253/html5-canvas-100-width-height-of-viewport Don't use the window dimensions! Instead use the |
Hi Rob, I read through the link on SO, thank you! There's a few answers there and although one is marked as the right answer, some commenters claim it's wrong. :) I'll have to read carefully.
I'm not sure I understand what you mean use div wrapper dimensions? Here's a fiddle of my code. I don't know why nothing is displaying in the fiddle. Also, when I resize, the slider (in my browser Chrome on my box) turns black (it looses the gradient and the end gray color). When I refresh the window, the gradient returns, but turns to black again on resize. Thanks. |
Hi Rob,
Is there a way to make the pathslider responsive? Thanks!
The text was updated successfully, but these errors were encountered: