Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Update packages/terra-form-select/src/shared/_Tag.jsx
Browse files Browse the repository at this point in the history
Co-authored-by: Supreeth <[email protected]>
  • Loading branch information
adavijit and supreethmr authored Apr 23, 2024
1 parent 533d7a2 commit 10f9392
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/terra-form-select/src/shared/_Tag.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,8 @@ const Tag = ({
}
} else {
const nextLi = tagRef.current.nextElementSibling;
if (nextLi) {
const deselectElement = nextLi.children[1];
if (deselectElement) {
deselectElement.focus();
} else {
selectInput.focus();
}
if (nextLi && nextLi.children[1]) {
nextLi.children[1].focus();

Check failure on line 55 in packages/terra-form-select/src/shared/_Tag.jsx

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 10 spaces but found 12
} else {
selectInput.focus();
}
Expand Down

0 comments on commit 10f9392

Please sign in to comment.