gambitph / Stackable

Page Builder Blocks for WordPress. An Amazing Block Library for the new WordPress Block Editor (Gutenberg).
https://wpstackable.com
GNU General Public License v3.0
329 stars 62 forks source link

Tabs block - Tabs Label issue for inner Tabs block inside Tabs block #3372

Open andeng1106 opened 6 days ago

andeng1106 commented 6 days ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Add a new page
  2. Add a Tabs block
  3. Add blocks in Tab Content
  4. Unlock both Tab Content and Tabs Label
  5. Move Tabs Label below Tab Content
  6. Inside Tab Content, add another Tabs block in the first Inner Column
  7. Add blocks in the new Tabs block (should look different than the first Tabs block)
  8. Save page and view frontend
  9. Try clicking the new Tabs block's second tab
  10. See that it redirects to the first Tabs block's second tab instead of the new Tabs block's second tab
  11. Try clicking the first Tabs block second tab
  12. See that nothing happens

Expected behavior

Screenshots

https://github.com/user-attachments/assets/a97971a0-1f6d-4347-9233-fabfa8c33112