diff --git a/app/components/List/Item.tsx b/app/components/List/Item.tsx index 1759826bd4..c1fd64a551 100644 --- a/app/components/List/Item.tsx +++ b/app/components/List/Item.tsx @@ -44,7 +44,10 @@ const ListItem = ( } const [tabIndex, focused, handleKeyDown, handleClick, handleFocus] = - useRovingTabIndex(itemRef as React.RefObject, false); + useRovingTabIndex( + itemRef as React.RefObject, + to ? false : true + ); useFocusEffect(focused, itemRef as React.RefObject); @@ -99,20 +102,7 @@ const ListItem = ( } return ( - { - if (rest.onClick) { - rest.onClick(ev); - } - handleClick(); - }} - > + {content(false)} );