Stackable icon indicating copy to clipboard operation
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

Open andeng1106 opened this issue 1 year ago • 0 comments

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:

  1. Add a Columns block with 2 inner column (Inner Column 1 & Inner Column 2)
  2. In the 2nd inner column, add a Columns block with 2 inner column (Inner Column 2.1 & Inner Column 2.2)
  3. In the Parent Columns block, set column arrangement for tablet or mobile
  4. Save page
  5. See frontend
  6. See if Parent Columns block changed column arrangement as per step 3 (should now be Inner Column 2 & Inner Column 1)
  7. 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

andeng1106 avatar Dec 15 '23 12:12 andeng1106