mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-14 03:04:21 +01:00
This commit is contained in:
parent
e014a75fdd
commit
5da5e73a09
2 changed files with 6 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
|||
} else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) {
|
||||
if (target.classList.contains("item--focus")) {
|
||||
openViewMenu({protyle, blockElement, element: target});
|
||||
} else if (protyle.options.action.includes(Constants.CB_GET_HISTORY)){
|
||||
} else if (protyle.options.action.includes(Constants.CB_GET_HISTORY)) {
|
||||
blockElement.setAttribute(Constants.CUSTOM_SY_AV_VIEW, target.dataset.id);
|
||||
blockElement.removeAttribute("data-render");
|
||||
avRender(blockElement, protyle);
|
||||
|
|
@ -329,6 +329,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
|||
}
|
||||
setTimeout(() => {
|
||||
searchElement.focus();
|
||||
// TODO
|
||||
window.JSAndroid?.showKeyboard();
|
||||
}, Constants.TIMEOUT_TRANSITION);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue