Vanessa 2024-10-29 23:38:06 +08:00
parent d60d3ea3d6
commit facbea8a41

View file

@ -91,6 +91,10 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
searchElement.style.width = "128px";
searchElement.style.paddingLeft = "";
searchElement.style.paddingRight = "";
const viewsElement = hasClosestByClassName(searchElement, "av__views");
if (viewsElement) {
viewsElement.classList.add("av__views--show")
}
setTimeout(() => {
searchElement.focus();
}, Constants.TIMEOUT_TRANSITION);