From 8809df839b4f013b16db8794b7cff7713b0c29f0 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 19 Sep 2024 23:04:49 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11587 --- app/src/layout/dock/Files.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.ts index 2e9b0be90d6..0fb2d656d36 100644 --- a/app/src/layout/dock/Files.ts +++ b/app/src/layout/dock/Files.ts @@ -20,6 +20,7 @@ import {hasClosestByAttribute, hasClosestByTag, hasTopClosestByTag} from "../../ import {isTouchDevice} from "../../util/functions"; import {App} from "../../index"; import {refreshFileTree} from "../../dialog/processSystem"; +import {hideTooltip} from "../../dialog/tooltip"; export class Files extends Model { public element: HTMLElement; @@ -382,6 +383,7 @@ export class Files extends Model { return; } window.getSelection().removeAllRanges(); + hideTooltip(); const liElement = hasClosestByTag(event.target, "LI"); if (liElement) { let selectElements: Element[] = Array.from(this.element.querySelectorAll(".b3-list-item--focus"));