Vanessa 2024-04-25 12:19:24 +08:00
parent a3ed8f6079
commit d24f6ba707
4 changed files with 100 additions and 8 deletions

View file

@ -360,6 +360,10 @@ export class Files extends Model {
}
target = target.parentElement;
}
} else {
this.element.querySelectorAll(".b3-list-item--focus").forEach((item: HTMLElement) => {
item.classList.remove("b3-list-item--focus");
});
}
if (needFocus) {
setPanelFocus(this.element.parentElement);