zendeskgarden/react-components

Nested Tabs isVertical inherit

Closed this issue · 1 comments

Expectations

I nest a horizontal tab inside a vertical tab and the layout remains as shown on the demo page.

Reality

If a parent Tabs has isVertical, all other nested instances of Tabs will inherit it even if it is not there or is false.

Steps to Reproduce

Here's the sandbox to recreate it.

  1. click on first vertical tab

Fine Print

  • Component: Tabs
  • Version: react-tabs 8.76.2
  • Browsers: all

@Vin-dellavv this fix will be published with Garden's next v8 release