Skip to content

range slider width does not update on relayout #686

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
etpinard opened this issue Jun 23, 2016 · 2 comments · Fixed by #962
Closed

range slider width does not update on relayout #686

etpinard opened this issue Jun 23, 2016 · 2 comments · Fixed by #962
Assignees
Labels
bug something broken
Milestone

Comments

@etpinard
Copy link
Contributor

See http://codepen.io/etpinard/pen/PzWYgj

First reported on http://community.plot.ly/t/unable-to-resize-rangeslider-with-plot-resize/1370

@etpinard etpinard added the bug something broken label Jun 23, 2016
@etpinard etpinard self-assigned this Jul 5, 2016
@etpinard
Copy link
Contributor Author

etpinard commented Jul 5, 2016

Looks like pretty much all rangeslider attributes don't update upon Plotly.relayout.

To fix this,

  • we could write an updateSlider routine that updates the relevant slider parts (created via createSlider).
  • or rewrite the createSlider routine using d3 data join to handle both creation and updates in one, similar to how most of our other components function (e.g. Legend, RangeSelector, ...)

cc @mdtusz

@etpinard
Copy link
Contributor Author

etpinard commented Aug 2, 2016

range sliders should also update and extendTraces (see community post)

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

Successfully merging a pull request may close this issue.

1 participant