-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Tabs content should have $layer-01 background #14443
Comments
@carbon-design-system/design could you confirm? It looks like this is just contained tabs. There is no background style applied to |
HI @shixiedesign! we originally didn't include a back in the design specs. can you explain a little more why the layers aren't working? thank you! |
Sorry I don't seem to be getting email notification on the pings here except when issue closes. So @kingtraceyj the layers aren't working because of what @tay1orjones said, I suppose:
There's |
It's hard to know how pervasive this is. If we add the background, I think adding it behind a feature flag would be needed so that users don't pull a new minor and see visual changes in their app that they didn't have before. We can make it the default behavior in the next major. |
@tay1orjones was the recently merged PR under the v12 feature flag? it looks live in v11. Updates: |
Updated documentation to reflect tab panel layering model Tab panel is updated in storybook |
Package
@carbon/styles
Browser
No response
Package version
1.35.0
React version
No response
Description
I noticed tabs being used with tab content having no background, which makes the $layer-01 background of selected tab not really work as selected when there are 2 tabs. I believe the original design intent is the selected tab's content has $layer-01 background so it matches that of the tab above it, creating a visual connection:
Reproduction/example
https://react.carbondesignsystem.com/?path=/story/components-tabs--contained
Steps to reproduce
Go to https://react.carbondesignsystem.com/?path=/story/components-tabs--contained
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
Carbon for Salesforce
Code of Conduct
The text was updated successfully, but these errors were encountered: