Skip to content

Commit

Permalink
fix(ListItemSlider): comment explains delay
Browse files Browse the repository at this point in the history
  • Loading branch information
ctoddy committed May 16, 2024
1 parent b6fddf1 commit ae176ea
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ export default class ListItemSlider extends ListItem {
_update() {
super._update();
this._updateSliderPosition();
this._updateValue();
// Delay allows values to sync and value to be defined
setTimeout(() => {
this._updateValue();
}, 0);
}

_onTextBoxChanged() {
Expand Down

0 comments on commit ae176ea

Please sign in to comment.