From b491432daa2b50acd75bc0b7b4b995aa67318c4a Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Sun, 31 Aug 2025 10:23:29 +0900 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E3=82=BF=E3=83=83=E3=83=81?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=99=82=E3=81=AB=E3=83=9E=E3=82=A6=E3=82=B9?= =?UTF-8?q?=E3=83=9B=E3=83=90=E3=83=BC=E6=99=82=E3=81=AE=E3=83=A6=E3=83=BC?= =?UTF-8?q?=E3=82=B6=E3=83=BC=E3=83=97=E3=83=AC=E3=83=93=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=81=8C=E9=96=8B=E3=81=8F=E3=81=93=E3=81=A8=E3=81=8C=E3=81=82?= =?UTF-8?q?=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #16464 --- CHANGELOG.md | 1 + packages/frontend/src/directives/user-preview.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a41f86a94..f6ec7f8ab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,7 @@ - Fix: ユーザーの前後ノートを閲覧する機能が動作しない問題を修正 - Fix: 照会ダイアログでap/showでローカルユーザーを解決した際@username@nullに飛ばされる問題を修正 - Fix: アイコンのデコレーションを付ける際にデコレーションが表示されなくなる問題を修正 +- Fix: タッチ操作時にマウスホバー時のユーザープレビューが開くことがある問題を修正 - Fix: 管理中アカウント一覧で正しい表示が行われない問題を修正 - Fix: lookupページでリモートURLを指定した際に正しく動作しない問題を修正 diff --git a/packages/frontend/src/directives/user-preview.ts b/packages/frontend/src/directives/user-preview.ts index 94deea82c7..b11ef8f088 100644 --- a/packages/frontend/src/directives/user-preview.ts +++ b/packages/frontend/src/directives/user-preview.ts @@ -6,6 +6,7 @@ import { defineAsyncComponent, ref } from 'vue'; import type { Directive } from 'vue'; import { popup } from '@/os.js'; +import { isTouchUsing } from '@/utility/touch.js'; export class UserPreview { private el; @@ -107,6 +108,7 @@ export class UserPreview { export default { mounted(el: HTMLElement, binding, vn) { if (binding.value == null) return; + if (isTouchUsing) return; // TODO: 新たにプロパティを作るのをやめMapを使う // ただメモリ的には↓の方が省メモリかもしれないので検討中