The update to the Tabs component introducing scroll buttons #2440 also updated the display setting to flex. This resulted in a missed change in behavior with how the TabPanel might size to the height of the Tabs component. See this discussion.
๐ฉโ๐ป Implementation
Just needed to set a style on [part="tabpanel"] to have flex: 1;.
๐งช Testing
Added a Chromatic test that would fail without the style change.
โ Checklist
[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.
Pull Request
๐คจ Rationale
The update to the
Tabs
component introducing scroll buttons #2440 also updated thedisplay
setting toflex
. This resulted in a missed change in behavior with how theTabPanel
might size to the height of theTabs
component. See this discussion.๐ฉโ๐ป Implementation
Just needed to set a style on
[part="tabpanel"]
to haveflex: 1;
.๐งช Testing
Added a Chromatic test that would fail without the style change.
โ Checklist