Skip to content

Commit eb5a027

Browse files
committed
chore(ItemAction): tab index logic
1 parent 2f74f04 commit eb5a027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/actions/ItemAction/ItemAction.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export const ItemAction = forwardRef(function ItemAction(
198198
);
199199

200200
// Set tabIndex when in context
201-
const finalTabIndex = disableActionsFocus ? -1 : rest.tabIndex ?? undefined;
201+
const finalTabIndex = disableActionsFocus ? -1 : rest.tabIndex;
202202

203203
// Determine if we should show tooltip (icon-only buttons)
204204
const showTooltip = !children && tooltip;

0 commit comments

Comments
 (0)