kopia lustrzana https://github.com/shoelace-style/shoelace
fix tooltip bug
rodzic
3a3f5552a7
commit
8dba8fa5fb
|
@ -9,6 +9,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
- Added `label` attribute to `<sl-progress-bar>` and `<sl-progress-ring>` to improve a11y
|
- Added `label` attribute to `<sl-progress-bar>` and `<sl-progress-ring>` to improve a11y
|
||||||
|
- Fixed a bug where the tooltip would show briefly when clicking a disabled `<sl-range>`
|
||||||
- Updated to Bootstrap Icons to 1.6.0
|
- Updated to Bootstrap Icons to 1.6.0
|
||||||
|
|
||||||
## 2.0.0-beta.57
|
## 2.0.0-beta.57
|
||||||
|
|
|
@ -247,7 +247,7 @@ export default class SlRange extends LitElement {
|
||||||
@focus=${this.handleFocus}
|
@focus=${this.handleFocus}
|
||||||
@blur=${this.handleBlur}
|
@blur=${this.handleBlur}
|
||||||
/>
|
/>
|
||||||
${this.tooltip !== 'none'
|
${this.tooltip !== 'none' && !this.disabled
|
||||||
? html` <output part="tooltip" class="range__tooltip"> ${this.tooltipFormatter(this.value)} </output> `
|
? html` <output part="tooltip" class="range__tooltip"> ${this.tooltipFormatter(this.value)} </output> `
|
||||||
: ''}
|
: ''}
|
||||||
</div>
|
</div>
|
||||||
|
|
Ładowanie…
Reference in New Issue