diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 143ecee0..01e81409 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -9,6 +9,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis ## Next - Added `label` attribute to `` and `` to improve a11y +- Fixed a bug where the tooltip would show briefly when clicking a disabled `` - Updated to Bootstrap Icons to 1.6.0 ## 2.0.0-beta.57 diff --git a/src/components/range/range.ts b/src/components/range/range.ts index a9fdc6dd..07f1b8f6 100644 --- a/src/components/range/range.ts +++ b/src/components/range/range.ts @@ -247,7 +247,7 @@ export default class SlRange extends LitElement { @focus=${this.handleFocus} @blur=${this.handleBlur} /> - ${this.tooltip !== 'none' + ${this.tooltip !== 'none' && !this.disabled ? html` ${this.tooltipFormatter(this.value)} ` : ''}