This commit is contained in:
parent
d0aa41d1dd
commit
9f7c8c1265
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue