update
This commit is contained in:
@@ -260,11 +260,7 @@ export class SioButton extends DeesElement {
|
||||
return;
|
||||
}
|
||||
|
||||
// Dispatch a custom event with any data
|
||||
this.dispatchEvent(new CustomEvent('click', {
|
||||
detail: { originalEvent: event },
|
||||
bubbles: true,
|
||||
composed: true
|
||||
}));
|
||||
// Let the native click bubble normally
|
||||
// Don't dispatch a custom event to avoid double-triggering
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user