mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
fix toggle
This commit is contained in:
@@ -45,7 +45,7 @@ export default class SlButtonGroup extends ShoelaceElement {
|
||||
|
||||
private handleMouseOut(event: Event) {
|
||||
const button = findButton(event.target as HTMLElement);
|
||||
button?.toggleAttribute('data-sl-button-group__button--hover', true);
|
||||
button?.toggleAttribute('data-sl-button-group__button--hover', false);
|
||||
}
|
||||
|
||||
private handleSlotChange() {
|
||||
|
||||
Reference in New Issue
Block a user