@douyinfe/semi-ui 2.24.1 → 2.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78224,7 +78224,9 @@ class slider_Slider extends baseComponent_BaseComponent {
78224
78224
  if (hasPropValueChange) {
78225
78225
  const nextValue = this.props.value;
78226
78226
  const prevValue = this.state.currentValue;
78227
- this.foundation.handleValueChange(prevValue, nextValue);
78227
+ this.foundation.handleValueChange(prevValue, nextValue); // trigger onAfterChange when value is controlled and changed
78228
+
78229
+ this.props.onAfterChange(this.props.value);
78228
78230
  }
78229
78231
  }
78230
78232