Tab: in vertical mode with renderActiveOnly styling broken for all content except first tab
See original GitHub issueBug Report
Steps
Create a tab in vertical mode with renderActive Only set to false
import React from 'react'
import { Tab } from 'semantic-ui-react'
const panes = [
{ menuItem: 'Tab 1', pane: 'Tab 1 Content' },
{ menuItem: 'Tab 2', pane: 'Tab 2 Content' },
{ menuItem: 'Tab 3', pane: 'Tab 3 Content' },
]
const TabExampleBasicAll = () => <Tab panes={panes} menu={{vertical: true, fluid: true}} renderActiveOnly={false} />
export default TabExampleBasicAll
Expected Result
Outer box for all content items should be the same.
Actual Result
When you navigate to any item other than the first, the top border is not shown
Version
0.84.0
Testcase
https://codesandbox.io/s/825yxr5zn0
Screenshots


Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Javascript vertical tabs not working properly - Stack Overflow
There's a piece of JavaScript needed to hide the tabcontent to start and only show the first tab. It's not in the W3C...
Read more >Tab - Semantic UI React
renderActiveOnly ={false} All panes are rendered on Tab mount. Switching tabs hides the current pane and shows the new pane, without unmounting panes....
Read more >Vertical tabs broken [#925350] | Drupal.org
After looking around, I find that al themes are affected by this to differing degrees and will have their stylesheets to be adjusted....
Read more >Tabs and Customizations in Webflow [5 of 14] - YouTube
Create a highly customized tabbed navigation with using Components. FREE course: https://designcode.io/webflow-courseAssets: ...
Read more >tab-size - CSS: Cascading Style Sheets - MDN Web Docs
The tab-size CSS property is used to customize the width of tab ... Global values */ tab-size: inherit; tab-size: initial; tab-size: revert; ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As a temporary workaround, I’m applying
attached={false} style={{marginTop: 0}}
to each pane for now.There has been no activity in this thread for 180 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one.
However, PRs for this issue will of course be accepted and welcome!
If there is no more activity in the next 180 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks!