diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-16 10:58:06 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-16 10:58:06 +0900 |
| commit | c2940fd77cba7b0cf912db9fda92e66dbce9110f (patch) | |
| tree | 1ac1df00c5ea467af720e2c96bf3517d4d1d59b3 /packages/frontend/src/components/MkTextarea.vue | |
| parent | refactor (diff) | |
| download | misskey-c2940fd77cba7b0cf912db9fda92e66dbce9110f.tar.gz misskey-c2940fd77cba7b0cf912db9fda92e66dbce9110f.tar.bz2 misskey-c2940fd77cba7b0cf912db9fda92e66dbce9110f.zip | |
enhance(frontend): improve usability on touch device
Diffstat (limited to 'packages/frontend/src/components/MkTextarea.vue')
| -rw-r--r-- | packages/frontend/src/components/MkTextarea.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkTextarea.vue b/packages/frontend/src/components/MkTextarea.vue index eb47a8b858..c9da226734 100644 --- a/packages/frontend/src/components/MkTextarea.vue +++ b/packages/frontend/src/components/MkTextarea.vue @@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only --> <template> -<div> +<div class="_selectable"> <div :class="$style.label" @click="focus"><slot name="label"></slot></div> <div :class="{ [$style.disabled]: disabled, [$style.focused]: focused, [$style.tall]: tall, [$style.pre]: pre }" style="position: relative;"> <textarea @@ -38,10 +38,10 @@ SPDX-License-Identifier: AGPL-3.0-only <script lang="ts" setup> import { onMounted, onUnmounted, nextTick, ref, watch, computed, toRefs, shallowRef } from 'vue'; import { debounce } from 'throttle-debounce'; +import type { SuggestionType } from '@/utility/autocomplete.js'; import MkButton from '@/components/MkButton.vue'; import { i18n } from '@/i18n.js'; import { Autocomplete } from '@/utility/autocomplete.js'; -import type { SuggestionType } from '@/utility/autocomplete.js'; const props = defineProps<{ modelValue: string | null; |