helix-ui
helix-ui copied to clipboard
fix(Tabset): reset tabset to current tab when first tab is removed
Description
Tabset is not resetting back, when first tab is removed.
What are the relevant story cards/tickets? Any additional PRs or other references?
https://github.com/HelixDesignSystem/helix-ui/issues/872 Jira:
Before you request a review for this PR:
- [X] For UI changes, did you manually test in recent versions of modern browsers (Chrome, Firefox, and Safari)?
- [ ] For UI changes, did you manually test in IE11 and legacy Edge?
- [X] Did you add component tests for any new code?
- [X] Did you run the component unit tests via
yarn testto ensure all tests passed? - [X] Did you include a screenshot of the component tests?
- [ ] If you changed/added functionality, did you update the demo page and documentation?
- [ ] If needed, did you add or modify the demo test page to test the changed/added functionality?
- [ ] Did you assign reviewers?
- [ ] In Jira, have you linked to this PR on the ticket(s)?
Before

After

Deploy preview for helix-ui ready!
Built with commit 0be08cac69c40143061f4408f7018c62944dbd7d
https://deploy-preview-877--helix-ui.netlify.app