# NO BUG: Issue with nested Tabs, first content displayed in all content tabs

**URL:** <https://forum.bricksbuilder.io/t/no-bug-issue-with-nested-tabs-first-content-displayed-in-all-content-tabs/11188>\
**Category:** Bugs\
**Tags:** v1-7-1\
**Created:** [April 3, 2023, 11:49am UTC](https://forum.bricksbuilder.io/t/no-bug-issue-with-nested-tabs-first-content-displayed-in-all-content-tabs/11188 "2023-04-03T11:49:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![beamkiller](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/beamkiller/32/5794_2.png) [@beamkiller](https://forum.bricksbuilder.io/u/beamkiller)\
**Post date:** [April 3, 2023, 11:49am UTC](https://forum.bricksbuilder.io/t/no-bug-issue-with-nested-tabs-first-content-displayed-in-all-content-tabs/11188/1 "2023-04-03T11:49:35Z")

</div>

**Browser** : Chrome 111 and FF 112  
**OS** : Windows 10  
**URL** : [Wolfberry Křemelina 250 g](https://kremelina.cz/produkt/wolfberry-kremelina-250-g/)  
**Video** : [https://www.berrycast.com/conversations/e16967da-681e-5e56-a4b7-94d4923b0ab0](https://www.berrycast.com/conversations/e16967da-681e-5e56-a4b7-94d4923b0ab0)

I’m using nested tabs to display content on my product page. It has worked on the beginning but now it is displaying the first tab content in every tabs content.

Thanks for the help,  
Regards,  
Peter.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [April 4, 2023, 10:46am UTC](https://forum.bricksbuilder.io/t/no-bug-issue-with-nested-tabs-first-content-displayed-in-all-content-tabs/11188/2 "2023-04-04T10:46:46Z")

</div>

Hi Peter,  
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue.  
Does it make a difference if you remove the code block from the tabs? If so, there is something wrong with it.

If that doesn’t help, please send temporary login credentials and a link to this thread to [help@bricksbuilder.io](mailto:help@bricksbuilder.io) using the email address you used during the purchase (as you already did, but without login credentials 😉 ).

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![beamkiller](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/beamkiller/32/5794_2.png) [@beamkiller](https://forum.bricksbuilder.io/u/beamkiller)\
**Post date:** [April 4, 2023, 1:55pm UTC](https://forum.bricksbuilder.io/t/no-bug-issue-with-nested-tabs-first-content-displayed-in-all-content-tabs/11188/3 "2023-04-04T13:55:32Z")

</div>

Hi timmse,

If I add the Code block to another element the issue is still present with the button only in the first tab.

> **[Nested Tabs - without Code block in first](https://www.berrycast.com/conversations/f5cd5533-efe9-5dd7-b773-2903eddad524)**
>
> Want to record videos like this? Go to berrycast.com/record to sign up for a 14-day free trial and start recording unlimited videos.

Email sent.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [April 4, 2023, 8:52pm UTC](https://forum.bricksbuilder.io/t/no-bug-issue-with-nested-tabs-first-content-displayed-in-all-content-tabs/11188/4 "2023-04-04T20:52:48Z")

</div>

Hey Peter,  
I found the cause of the problem: you have set the “Nabidky” content wrapper to `display: flex`. This causes a problem because the tab content is hidden and displayed with `display: none` and `display: block`. If it is set to `flex` throughout it cannot work.

The solution is simple: I wrapped the code block with a block and inserted the flex styles. Now it works as it should.

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![beamkiller](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/beamkiller/32/5794_2.png) [@beamkiller](https://forum.bricksbuilder.io/u/beamkiller)\
**Post date:** [April 5, 2023, 5:18am UTC](https://forum.bricksbuilder.io/t/no-bug-issue-with-nested-tabs-first-content-displayed-in-all-content-tabs/11188/5 "2023-04-05T05:18:36Z")

</div>

Hey timmse,

Understood, thank you for checking 🙂
