Updated set last clicked method to find the closest focusable element
Updated Slide Panel Multiple Buttons Toggle test to use terra-buttons
Updated wdio spec to remove body focus check
Why it was changed:
When disclosing a slide panel, the element that was clicked on is stored as the "last clicked" item. On terra-buttons, a is clicked instead of the
Testing
This change was tested using:
[x] WDIO
[x] Jest
[ ] Visual testing (please attach a screenshot or recording)
[x] Other (please describe below)
[ ] No tests are needed
Used the Slide Panel Multiple Buttons Toggle test to verify changes
Reviews
In addition to engineering reviews, this PR needs:
[ ] UX review
[ ] Accessibility review
[ ] Functional review
Additional Details
This PR resolves:
UXPLATFORM-10167
Thank you for contributing to Terra.
@cerner/terra
Summary
What was changed:
Why it was changed: When disclosing a slide panel, the element that was clicked on is stored as the "last clicked" item. On terra-buttons, a is clicked instead of the
Testing
This change was tested using:
Used the Slide Panel Multiple Buttons Toggle test to verify changes
Reviews
In addition to engineering reviews, this PR needs:
Additional Details
This PR resolves:
UXPLATFORM-10167
Thank you for contributing to Terra. @cerner/terra