Skip to content

Commit

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

0 comments on commit facbea8

Please sign in to comment.