Skip to content

Contained Tabs to include Layer component inside TabPanel #17224

Open
@ariellalgilmore

Description

@ariellalgilmore

#17215
^ follow up from this PR

Currently in v11 when using Contained Tabs or Vertical Tabs an adopter must use a <Layer> inside if any field components are being used inside the TabPanel. TabPanel has no connection at the moment if the <Tab> is contained or not.

idea: Somehow TabPanel will know if it is a type of Contained Tab and automatically wrap the children in a <Layer>. We could also make a codemod that would remove any <Layer> components being used, so that it would be a seamless transisition for adopters

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: tabsversion: 12Issues pertaining to a future major release of Carbon

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions