Skip to content

Fix: latestDegree isn't saved when value is set#25

Open
allanca wants to merge 1 commit into
shushutochako:masterfrom
marketforces:master
Open

Fix: latestDegree isn't saved when value is set#25
allanca wants to merge 1 commit into
shushutochako:masterfrom
marketforces:master

Conversation

@allanca
Copy link
Copy Markdown

@allanca allanca commented Aug 18, 2017

When the value property is set programatically and then the component re-renders, the slider position resets to a previous state and the UI no longer matches the value property.

The fix is to update latestDegree when the value is set explicitly.

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

Successfully merging this pull request may close these issues.

1 participant