Skip to content

Conversation

ericsoderberghp
Copy link
Contributor

What does this PR do?

Changed Tab to be resilient to not be contains in Tabs.
This showed up when someone added a Tab to a Box in grommet designer, where it crashed.

Where should the reviewer start?

Tab.js

What testing has been done on this PR?

Added a unit test.

How should this be manually tested?

Tab with Tabs

Do Jest tests follow these best practices?

preserved existing test structure

Do the grommet docs need to be updated?

no

Should this PR be mentioned in the release notes?

yes

Is this change backwards compatible or is it a breaking change?

backwards compatible

@ericsoderberghp ericsoderberghp merged commit 6724918 into master Aug 11, 2022
@ericsoderberghp ericsoderberghp deleted the fix/tab-no-tabs branch August 11, 2022 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants