Vanessa 2024-08-07 22:57:43 +08:00
parent d0aa41d1dd
commit 9f7c8c1265

View file

@ -91,10 +91,9 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
searchElement.style.width = "128px";
searchElement.style.paddingLeft = "";
searchElement.style.paddingRight = "";
searchElement.value = "t";
// setTimeout(() => {
// searchElement.focus();
// }, Constants.TIMEOUT_TRANSITION);
setTimeout(() => {
searchElement.focus();
}, Constants.TIMEOUT_TRANSITION);
event.preventDefault();
event.stopPropagation();
return true;