diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-31 10:23:29 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-31 10:23:29 +0900 |
| commit | b491432daa2b50acd75bc0b7b4b995aa67318c4a (patch) | |
| tree | fd0fae6386e2392152df999129afed91e6286ec5 /packages | |
| parent | enhance(frontend): アイコンのスクロール追従を無効化する際... (diff) | |
| download | misskey-b491432daa2b50acd75bc0b7b4b995aa67318c4a.tar.gz misskey-b491432daa2b50acd75bc0b7b4b995aa67318c4a.tar.bz2 misskey-b491432daa2b50acd75bc0b7b4b995aa67318c4a.zip | |
fix(frontend): タッチ操作時にマウスホバー時のユーザープレビューが開くことがある問題を修正
Fix #16464
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/frontend/src/directives/user-preview.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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を使う // ただメモリ的には↓の方が省メモリかもしれないので検討中 |