Browse Source

:art: 笔记本拖回原处时重新显示悬浮提示

Jeffrey Chen 6 months ago
parent
commit
0949efbe9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/layout/dock/Files.ts

+ 1 - 1
app/src/layout/dock/Files.ts

@@ -446,7 +446,7 @@ export class Files extends Model {
                 item.style.opacity = "";
                 // https://github.com/siyuan-note/siyuan/issues/11587
                 if (index === 0) {
-                    const airaLabelElement = item.querySelector(".ariaLabel");
+                    const airaLabelElement = item.querySelector(".ariaLabel") || item.querySelector(".b3-list-item__text");
                     if (airaLabelElement) {
                         showTooltip(airaLabelElement.getAttribute("aria-label"), airaLabelElement);
                     }