diff --git a/web/src/components/SessionList.tsx b/web/src/components/SessionList.tsx index 484acd8f..57ee840a 100644 --- a/web/src/components/SessionList.tsx +++ b/web/src/components/SessionList.tsx @@ -189,7 +189,11 @@ function SessionItem(props: { haptic.impact('medium') setMenuOpen(true) }, - onClick: () => onSelect(s.id), + onClick: () => { + if (!menuOpen) { + onSelect(s.id) + } + }, threshold: 500 }) @@ -197,7 +201,6 @@ function SessionItem(props: { const statusDotClass = s.active ? (s.thinking ? 'bg-[#007AFF]' : 'bg-[var(--app-badge-success-text)]') : 'bg-[var(--app-hint)]' - return ( <>