Skip to content

Commit 0d878b0

Browse files
committed
Fix syncUIAndState bug. Show tooltips on disabled sliders
1 parent 3b68e23 commit 0d878b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/main/src/SliderBase.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class SliderBase extends UI5Element {
249249
* @private
250250
*/
251251
_onmouseover(event) {
252-
if (!this.disabled || this.showTooltip) {
252+
if (this.showTooltip) {
253253
this._tooltipVisibility = "visible";
254254
}
255255
}
@@ -450,7 +450,7 @@ class SliderBase extends UI5Element {
450450
}
451451

452452
// Recalculate the tickmarks and labels and update the stored state.
453-
if (this.isPropertyUpdated("min", "max", values)) {
453+
if (this.isPropertyUpdated("min", "max", ...values)) {
454454
this._normalizeMinMaxValues(this.min, this.max);
455455
this._drawDefaultTickmarks(this.step, this.max, this.min);
456456
this.storePropertyState("min", "max");

0 commit comments

Comments
 (0)