When tabs are set to horizontal with Bootstrap theme, the labels of the tabs aren't on the actual tabs.
See example image where 3 tabs are being used but the tab label (Where) only appears inside once the tab is opened.
Each horizontal tab has a vertical tab nested within it and that vertical tab has the label on it which should be on the horizontal tab.
I discovered this by setting tab's default states to closed. So you click on the horizontal tab and then click on the label inside and that tab animates vertically as it opens.

Comments
Comment #2
the_glitch commentedComment #3
abaier commentedWe have noticed this Bug also, while checking out core 8.9.x-dev. The titles of the tabs seem to be missing in the markup.
Comment #4
abaier commentedTracked this down a bit. The tabs still render as expected using the Claro theme, but not in Seven anymore.
The Seven theme in core 8.9.x-dev added/will add a
<span>element around the title in<summary>This seems to break the following line in '/modules/field_group/formatters/tabs/horizontal-tabs.js':
If I remove the span from Seven's template OR replace '.details-title' with 'span' inside the function the tabs will be rendered correctly.
Could this break things in another place? I am also not sure where this issue belongs, so help would be highly appreciated.
Thanks!
Comment #5
abaier commentedAdding the issue where this new
<span>was implemented.Comment #6
gmercer commentedI've added the following patch.
Comment #7
the_glitch commentedPatch #6 applied but doesn't work. Field names are still only visible after going into the tab's page, not on the tab itself.
Comment #8
danharper commentedPatch doesn't work for me either using seven theme. My content edit screen is fairly unusable at this point.
Comment #9
huzookaIf anyone could check this with ie11, that would be great.
Comment #10
the_glitch commentedSame outcome as test #7
Patch #9 applied but doesn't work. Field names are still only visible after going into the tab's page, not on the tab itself.
Comment #11
huzookaComment #12
huzookaAdded a Nightwatch test (so at least Chrome should be fine).
The interdiff is the test-only patch itself.
Comment #13
huzooka@the_glitch, what browser do you use?
Comment #14
the_glitch commentedPatch #12 doesn't work either.
I'm using chrome and firefox
What I've just noticed is that it seems that each horizontal tab has a vertical tab nested within it and that vertical tab has the label on it which should be on the horizontal tab.
I discovered this by setting tab's default states to closed. So you click on the horizontal tab and then click on the label (vertical tab) inside and the tab animates vertically as it opens.
Comment #15
marcoka commentedI had a similar problem with Drupal 8.9.0. final. But it is realted to the JS and the Jquery update on 8.9.0
#3145717: Empty tab labels Drupal 8.9.0
Comment #16
the_glitch commentedYes I believe the problem is because the actual tab is nested inside the horizontal tab and which means the label is nested causing its label to be hidden until the horizontal tab is opened.
The patch in the issue you mentioned in comment #15 also doesn't fix this issue.
Comment #17
huzookaComment #18
huzookaThe attached patches aren't fixing the issue (which happens on the Bootstrap theme, I guess with version 8.x-3.x).
Setting back to active, and added #3145717: Empty tab labels Drupal 8.9.0 as related issue. I guess that one should be fixed first.
Comment #19
the_glitch commentedComment #20
thomwilhelm commentedSimilar to @the_glitch we are using Horizontal tabs and the seven admin theme. I've tried patches from this ticket as well as from #3145717 but no luck so far.
Updated: Ignore that, I've upgraded to field_group 3.1 and Drupal 8.9.0 and the tabs are working correctly. Not sure what I did wrong but I can't replicate anymore.
Comment #21
jelle_sCan confirm, field_group 3.1 fixes it.
Comment #22
the_glitch commentedI can confirm that field_group 3.1 does not fix it
Comment #23
kplatis commentedI see the same bug for Field Group 3.0 and Adminimal Theme
Comment #24
marcoka commented@platico You should check it with 3.1 not with an older version.
I also use adminimal and the patch has fixed it here. I use chrome/vivaldi
Comment #25
jelle_s@platico try Field Group 3.1 first, it seems to fix it for some (not all, see #22) people.
Comment #26
the_glitch commented@ThomWilhelm
Do your horizontal tabs now have the labels ON the tabs or inside once you click on them?
Comment #27
kplatis commentedI confirm that it is solved when using Adminimal theme and Field Group version 3.1
Comment #28
the_glitch commented@platico and @marcoka
This issue's bug is about Bootstrap, not Adminimal.
Comment #29
marcoka commented@the_glitch i also use bootstrap as a frontend. You mean botstrap as a backend?
I use:
- frontend radix = bootstrap 4
- backend adminimal/seven
- drupal 8.9.1
- latest field_groups module
Comment #30
the_glitch commented@marcoka Pretty much the same setup but Bootstrap 3.2
Comment #31
frobThis sounds like a bootstrap 3.2 issue. I got past this by overriding the template in my theme to add .details-title as a class on the span. Better fix my theme than to force a bespoke fix in a contrib module.
Comment #32
rodrigoaguileraWeird.
I am using seven theme and I had to tweak the template to add the .details-title to the span
Comment #33
mrpauldriver commentedI am also seeing this with Adminimal. Switching to Claro for now
Comment #34
blacklabel_tom commentedI can confirm upgrading to 3.1 with core 8.9.5 works for me with the Seven admin theme.
Cheers
Tom
Comment #35
meena.bisht commentedComment #36
sonvir249 commentedComment #37
benroy commentedI confirm to upgrading to 3.1 with core 8.9.8 works for me with the adminimal admin theme.
Thks,
Comment #38
gustavowal commentedConfirming on 8.9.9 the patch fixes the issue.
Comment #39
FleetAdmiralButter commentedUpdating to 3.1 on Drupal 8.9.11 fixed the issue for us when using the seven theme!
Comment #40
the_glitch commented@gustavowal does it work for bootstrap?
Comment #41
eric.chenchao commentedI think this is duplicate to #3145717: Empty tab labels Drupal 8.9.0 and probably can be closed. The fix in the other ticket is merged in 3.0
Comment #42
sim_1I'm no longer seeing this issue in D9 with field_group 8.x-3.2 with seven admin theme. I agree that it can be marked as fixed.
Comment #43
nils.destoop commented