File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
apps/webapp/app/components/primitives Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ export const TableRow = forwardRef<HTMLTableRowElement, TableRowProps>(
7878 return (
7979 < tr
8080 ref = { ref }
81+ tabIndex = { 0 }
8182 className = { cn (
82- "group/table-row relative w-full after:absolute after:bottom-0 after:left-3 after:right-0 after:h-px after:bg-grid-dimmed" ,
83+ "group/table-row relative w-full outline-none after:absolute after:bottom-0 after:left-3 after:right-0 after:h-px after:bg-grid-dimmed focus:focus-custom " ,
8384 disabled && "opacity-50" ,
8485 isSelected && isSelectedStyle ,
8586 className
@@ -216,11 +217,11 @@ export const TableCell = forwardRef<HTMLTableCellElement, TableCellProps>(
216217 colSpan = { colSpan }
217218 >
218219 { to ? (
219- < Link to = { to } className = { cn ( "focus-custom" , flexClasses , actionClassName ) } >
220+ < Link to = { to } tabIndex = { - 1 } className = { cn ( flexClasses , actionClassName ) } >
220221 { children }
221222 </ Link >
222223 ) : onClick ? (
223- < button onClick = { onClick } className = { cn ( "focus-custom" , flexClasses , actionClassName ) } >
224+ < button onClick = { onClick } tabIndex = { - 1 } className = { cn ( flexClasses , actionClassName ) } >
224225 { children }
225226 </ button >
226227 ) : (
You can’t perform that action at this time.
0 commit comments