summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2025-11-24 11:18:01 +0900
committerGitHub <noreply@github.com>2025-11-24 11:18:01 +0900
commitc4f53aba3fcaf998976f579f25b205ea50453a3e (patch)
tree221a2fa66128f68fb9406eca414ff01f77c5216c
parentfix(frontend): リセットボタンでCWがリセットされない問題を... (diff)
downloadmisskey-c4f53aba3fcaf998976f579f25b205ea50453a3e.tar.gz
misskey-c4f53aba3fcaf998976f579f25b205ea50453a3e.tar.bz2
misskey-c4f53aba3fcaf998976f579f25b205ea50453a3e.zip
fix(frontend): 一部のシチュエーションで投稿フォームのツアーが表示されない問題を修正 (#16837)
* fix(frontend): 一部のシチュエーションで投稿フォームのツアーが表示されない問題を修正 * Update Changelog --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
-rw-r--r--CHANGELOG.md1
-rw-r--r--packages/frontend/src/components/MkSpot.vue6
-rw-r--r--packages/frontend/src/utility/tour.ts4
3 files changed, 8 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0b02726020..52011bbd49 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
- Enhance: リアクションの受け入れ設定にキャプションを追加 #15921
- Fix: ページの内容がはみ出ることがある問題を修正
- Fix: ヘッダーメニューのチャンネルの新規作成の項目でチャンネル作成ページに飛べない問題を修正 #16816
+- Fix: 一部のシチュエーションで投稿フォームのツアーが正しく表示されない問題を修正
- Fix: 投稿フォームのリセットボタンで注釈がリセットされない問題を修正
### Server
diff --git a/packages/frontend/src/components/MkSpot.vue b/packages/frontend/src/components/MkSpot.vue
index 07699644aa..4a8ebb5f94 100644
--- a/packages/frontend/src/components/MkSpot.vue
+++ b/packages/frontend/src/components/MkSpot.vue
@@ -110,7 +110,11 @@ onUnmounted(() => {
<style lang="scss" module>
.root {
- position: absolute;
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
}
.bg {
diff --git a/packages/frontend/src/utility/tour.ts b/packages/frontend/src/utility/tour.ts
index 8ab3474ddc..c6bfa35a66 100644
--- a/packages/frontend/src/utility/tour.ts
+++ b/packages/frontend/src/utility/tour.ts
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
-import { computed, ref, shallowRef, watch } from 'vue';
+import { computed, ref, shallowRef, watch, defineAsyncComponent } from 'vue';
import * as os from '@/os.js';
type TourStep = {
@@ -26,7 +26,7 @@ export function startTour(steps: TourStep[]) {
anchorElementRef.value = step.element;
});
- const { dispose } = os.popup(await import('@/components/MkSpot.vue').then(x => x.default), {
+ const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkSpot.vue')), {
title: titleRef,
description: descriptionRef,
anchorElement: anchorElementRef,