Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(ui): scope row onKeyDown to the row itself

cyhb1ef1870ada7
diff --git a/ui/src/components/steps/ChannelList.tsx b/ui/src/components/steps/ChannelList.tsx
index dda07c4f6..535a92272 100644
--- a/ui/src/components/steps/ChannelList.tsx
+++ b/ui/src/components/steps/ChannelList.tsx
@@ -1157,6 +1157,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
tabIndex={0}
onClick={() => setExpandedChannelId(expanded ? null : rowKey)}
onKeyDown={(e) => {
+ if (e.target !== e.currentTarget) return;
if (e.key === ' ' || e.key === 'Enter') {
e.preventDefault();
setExpandedChannelId(expanded ? null : rowKey);
diff --git a/ui/src/components/steps/UserList.tsx b/ui/src/components/steps/UserList.tsx
index 33613e1e8..29ac5df14 100644
--- a/ui/src/components/steps/UserList.tsx
+++ b/ui/src/components/steps/UserList.tsx
@@ -752,6 +752,7 @@ export const UserList: React.FC = () => {
tabIndex={0}
onClick={() => setExpandedKey(expanded ? null : u.key)}
onKeyDown={(e) => {
+ if (e.target !== e.currentTarget) return;
if (e.key === ' ' || e.key === 'Enter') {
e.preventDefault();
setExpandedKey(expanded ? null : u.key);