Skip to content

Commit

Permalink
🐛 #11098
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Aug 7, 2024
1 parent d0aa41d commit 9f7c8c1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/src/protyle/render/av/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f7c8c1

Please sign in to comment.