Skip to content

Commit 7f7b8d7

Browse files
committed
fix: mobile sidebar scrolling
1 parent 3ef96fc commit 7f7b8d7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/frontend/app/components/chat/ChatSidebar.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ const [DefineThreadLiItem, ReuseThreadLiItem] = createReusableTemplate<{ thread:
207207
<NuxtLink
208208
:to="`/chat/${thread._id}`"
209209
class="group/thread relative block flex items-center gap-2 overflow-hidden rounded-md p-2 px-3 text-sm [&.router-link-exact-active]:bg-primary/10 hover:bg-primary/20"
210-
@pointerdown="navigateTo(`/chat/${thread._id}`); sidebarContext.setOpenMobile(false)"
210+
@mousedown="navigateTo(`/chat/${thread._id}`);"
211+
@click="navigateTo(`/chat/${thread._id}`); sidebarContext.setOpenMobile(false)"
211212
>
212213
<div class="h-4 flex items-center gap-1">
213214
<BranchIconButton v-if="thread.parentThread" :thread />

0 commit comments

Comments
 (0)