Skip to content

A self-hosted media server and file management system

try scroll fix again

aminnausindb74abc8faab
diff --git a/resources/js/components/pinesUI/InputMultiChip.vue b/resources/js/components/pinesUI/InputMultiChip.vue
index eedb11b2..c4c96518 100644
--- a/resources/js/components/pinesUI/InputMultiChip.vue
+++ b/resources/js/components/pinesUI/InputMultiChip.vue
@@ -234,6 +234,8 @@ watch(
@keydown.enter="handleCreate"
@keydown.space.stop="() => {}"
ref="selectInput"
+ class="scroll-m-4"
+ @change="selectInput?.$el.scrollIntoView({ behavior: 'smooth', block: 'center' })"
@focus="selectInput?.$el.scrollIntoView({ behavior: 'smooth', block: 'center' })"
/>
<ButtonIcon :type="'button'" tabindex="549" :disabled="!newValue" @click="handleCreate">