mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
fixes #775
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user