-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Column blocks (e.g. 30) are not displayed correctly in a group block #42031
Comments
I forgot to mention two more points:
|
I found that this problem is not limited to columns or group blocks. In the list view, if there are 31 or more nested child blocks, the 31st and subsequent blocks are not displayed, including the next parent block. 109daed079757b2b06525a77f0c7da77.mp4 |
Looking at #35230, it appears that the initial rendering is limited to 30 blocks, which are rendered according to scrolling. |
@t-hamano I confirm the problem is not limited to columns or group blocks. Hope this bug will be fix soon because "List View" is very useful to build page/post containing lot of blocks. |
I believe I have a fix for this, over in #53716. The fix looks to update / refresh the list view's windowing calculation when the expanded state of blocks changes (expanding / collapsing anywhere in the tree). |
Description
If I insert many column blocks in a group block (in the mentioned example these are 30 column blocks - I copied the columns blocks and the last column block I labeled "the last one" in the movie), then the list is not shown completely.
As a workaround I have found the following solution: Delete a column block and undo the deletion afterwards. After that the list is shown correctly.
However, if I then leave the page and then edit this page again, then I have the same problem, which I then have to solve again via the mentioned workaround.
When I activate Gutenberg 13.5.1 the error is still present and after performing the workaround the error is fixed, but when I then exit the page and edit again the list is displayed correctly
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
WordPress 6.0
Chrome
Gutenberg 13.5.1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: