mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
fix tooltip bug
This commit is contained in:
@@ -9,6 +9,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
|
||||
## Next
|
||||
|
||||
- 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
|
||||
|
||||
## 2.0.0-beta.57
|
||||
|
||||
@@ -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` <output part="tooltip" class="range__tooltip"> ${this.tooltipFormatter(this.value)} </output> `
|
||||
: ''}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user