diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index e64129b3027..8e9cf485121 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -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);