Stackable
Stackable copied to clipboard
Table of Contents block - When setting Columns to 3 columns, it's displaying 2 columns both in editor and frontend
Describe the bug When setting Columns to 3 columns, it's displaying 2 columns both in editor and frontend. There's a bug happening in editor, if the block is selected, it displays 3 columns but if you lose focus and select other block, it displays 2 columns.
Note: This issue also happens on Wordpress 5.9 but it might be nice to fix this.
To Reproduce Steps to reproduce the behavior:
- Add many blocks to fill the table of contents
- Add a table of contents block
- Set Columns to 3
- Update changes
- Check frontend if there are only 2 columns
- Check backend if there are 3 columns
- Try selecting other block
- Check table of content block in backend again if there are only 2 columns
Expected behavior If Columns are set to 3, it should display 3 columns both in editor and frontend.
Screenshots
https://user-images.githubusercontent.com/103395655/168253956-ec363c9c-ebc1-411c-be8b-cdbf0ad979c4.mp4