fix(frontend): タッチ操作時にマウスホバー時のユーザープレビューが開くことがある問題を修正

Fix #16464
This commit is contained in:
syuilo 2025-08-31 10:23:29 +09:00
parent ebe029458e
commit b491432daa
2 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,7 @@
- Fix: ユーザーの前後ノートを閲覧する機能が動作しない問題を修正
- Fix: 照会ダイアログでap/showでローカルユーザーを解決した際@username@nullに飛ばされる問題を修正
- Fix: アイコンのデコレーションを付ける際にデコレーションが表示されなくなる問題を修正
- Fix: タッチ操作時にマウスホバー時のユーザープレビューが開くことがある問題を修正
- Fix: 管理中アカウント一覧で正しい表示が行われない問題を修正
- Fix: lookupページでリモートURLを指定した際に正しく動作しない問題を修正

View File

@ -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を使う
// ただメモリ的には↓の方が省メモリかもしれないので検討中