Skip to content

Commit

Permalink
remove select dropdown button from tabbing order
Browse files Browse the repository at this point in the history
  • Loading branch information
steppy452 committed Dec 6, 2023
1 parent f390a03 commit 0800d26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/form/Select/SelectInput/SelectInput.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@
border: none;
background: none;

&:focus-visible {
outline: 1px dashed var(--button-focus);
outline-offset: var(--button-focus-offset);
}

&:not([disabled]) {
cursor: pointer;
}
Expand Down
1 change: 1 addition & 0 deletions src/form/Select/SelectInput/SelectInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ export const SelectInput: FC<Partial<SelectInputProps>> = ({
disabled={disabled}
className={classNames(css.expand, css.btn, 'select-input-toggle')}
onClick={onExpandClick}
tabIndex={-1}
>
{expandIcon}
</button>
Expand Down

0 comments on commit 0800d26

Please sign in to comment.