(fix) チュートリアル中にPostFormにフォーカスが当たらないようにする (#12242)

This commit is contained in:
かっこかり 2023-11-04 20:21:42 +09:00 committed by GitHub
parent b7d3c5f4f0
commit 94a20205eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template> <template>
<div class="_gaps"> <div class="_gaps">
<div style="text-align: center; padding: 0 16px;">{{ i18n.ts._initialTutorial._postNote.description1 }}</div> <div style="text-align: center; padding: 0 16px;">{{ i18n.ts._initialTutorial._postNote.description1 }}</div>
<MkPostForm :class="$style.exampleRoot" :mock="true"/> <MkPostForm :class="$style.exampleRoot" :mock="true" :autofocus="false"/>
<MkFormSection> <MkFormSection>
<template #label>{{ i18n.ts.visibility }}</template> <template #label>{{ i18n.ts.visibility }}</template>
<div class="_gaps"> <div class="_gaps">

View File

@ -11,6 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkPostForm <MkPostForm
:class="$style.exampleRoot" :class="$style.exampleRoot"
:mock="true" :mock="true"
:autofocus="false"
:initialNote="exampleNote" :initialNote="exampleNote"
@fileChangeSensitive="doSucceeded" @fileChangeSensitive="doSucceeded"
></MkPostForm> ></MkPostForm>