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

Fix the slider range to notice changes #1266

Merged
merged 2 commits into from
Apr 7, 2017

Conversation

jasongrout
Copy link
Member

Fixes #1229.

Basically, the slider was initialized with a reference to the value array, so the slider was automatically updating the value array. When we tried to assign it to the model, it saw there was no change, so no notification went back to the kernel.

In this fix, we make it so that the slider range is initialized from a copy of the model range.

@jasongrout jasongrout merged commit 959a66c into jupyter-widgets:master Apr 7, 2017
@jasongrout jasongrout modified the milestone: 7.0 Apr 11, 2017
@github-actions github-actions bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 15, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IntRangeSlider does not trigger at first value change if continuous_update=False
1 participant