Stackable
Stackable copied to clipboard
Inner Column - If there’s a nested Columns block in an Inner Column and I set Column Arrangement for Parent Columns block, it also applies to the nested Columns block
Describe the bug
- Example scenario:
- Inner Column 1 & 2 has a column arrangement set to 2-1 but it also applies to Inner Column 2.1 & 2.2 and becomes 2.2-2.1
- Issue on frontend only
- Issue for both tablet and mobile view
- Issue happens also to blocks with inner columns (Feature, Feature Grid, Hero, etc.)
To Reproduce Steps to reproduce the behavior:
- Add a Columns block with 2 inner column (Inner Column 1 & Inner Column 2)
- In the 2nd inner column, add a Columns block with 2 inner column (Inner Column 2.1 & Inner Column 2.2)
- In the Parent Columns block, set column arrangement for tablet or mobile
- Save page
- See frontend
- See if Parent Columns block changed column arrangement as per step 3 (should now be Inner Column 2 & Inner Column 1)
- See if child columns block for Inner Column 2 also changes column arrangement as per step 3
Expected behavior
- When changing Column Arrangement for parent Columns block, it should not affect child inner columns (e.g. inner columns inside nested columns block)
Screenshots
https://github.com/gambitph/Stackable/assets/103395655/33ed74f5-dc0a-4139-8429-89a02f49201e