fix(striker-ui): don't allow tab to hit suggest buttons

main
Tsu-ba-me 2 years ago
parent 046b9ef4cd
commit 461fab597a
  1. 4
      striker-ui/components/StrikerInitForm.tsx

@ -133,7 +133,9 @@ const buildHostName = (
const SuggestButton: FC<ContainedButtonProps> = ({ onClick, ...restProps }) =>
onClick ? (
<ContainedButton {...{ onClick, ...restProps }}>Suggest</ContainedButton>
<ContainedButton {...{ onClick, tabIndex: -1, ...restProps }}>
Suggest
</ContainedButton>
) : (
<></>
);

Loading…
Cancel
Save