kopia lustrzana https://github.com/shoelace-style/shoelace
allow dropdown events to bubble
rodzic
b2599d5a9f
commit
48216a4fdc
|
@ -375,15 +375,12 @@ export default class SlColorPicker extends LitElement {
|
|||
}
|
||||
|
||||
handleDropdownShow(event: CustomEvent) {
|
||||
event.stopPropagation();
|
||||
|
||||
if (this.disabled) {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
handleDropdownAfterHide(event: CustomEvent) {
|
||||
event.stopPropagation();
|
||||
handleDropdownAfterHide() {
|
||||
this.showCopyFeedback = false;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue