kopia lustrzana https://github.com/shoelace-style/shoelace
fixes #775
rodzic
4d2de2dd57
commit
293f49e178
|
@ -209,7 +209,11 @@ export default class SlTooltip extends LitElement {
|
|||
|
||||
@watch('open', { waitUntilFirstUpdate: true })
|
||||
async handleOpenChange() {
|
||||
if (this.open && !this.disabled) {
|
||||
if (this.open) {
|
||||
if (this.disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Show
|
||||
emit(this, 'sl-show');
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue