kopia lustrzana https://github.com/shoelace-style/shoelace
Fixes #210
rodzic
64aae41910
commit
ed393f169e
|
@ -5,6 +5,7 @@
|
|||
- Added `input`, `label`, `prefix`, `clear-button`, `suffix`, `help-text` exported parts to `sl-select` to make the input customizable
|
||||
- Fixed a bug where mouse events would bubble up when `sl-button` was disabled, causing tooltips to erroneously appear
|
||||
- Fixed a bug where pressing space would open and immediately close `sl-dropdown` panels in Firefox
|
||||
- Fixed a bug where `sl-tooltip` would throw an error on init
|
||||
- Fixed buggy custom keyframes animation example
|
||||
- Refactored clear logic in `sl-input`
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ export class Tooltip {
|
|||
const oldTarget = this.target;
|
||||
const newTarget = this.getTarget();
|
||||
|
||||
if (newTarget !== oldTarget) {
|
||||
if (oldTarget && newTarget !== oldTarget) {
|
||||
oldTarget.removeAttribute('aria-describedby');
|
||||
newTarget.setAttribute('aria-describedby', this.componentId);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue