Open bradhogan opened 9 months ago
The same issue is happening when attempting to add the experimental form block to a page/template in the Appearance > Editor section, regardless of whether the block has been added to a group or not.
I've noticed that when editing a page, you can make all the adjustments to the form block before adding it to a group block. The settings configured for the form block still work after adding it to a group.
It's not selectable in any nested block. But if I move it to the top level, it's working as expected. So as a workaround, I move the form anytime I need to edit it.
I wanted to see what happens inside using a debugger, and discovered that if I set a breakpoint in the Edit method (or any other triggered by click) it works as expected. However, when I continue fast enough it doesn't work again. So, there is some kind of race condition happens.
Description
Can't select the form block in list view (so that I can update block specific settings) when the form block is inside of a group block.
Step-by-step reproduction instructions
https://soapbox.wistia.com/videos/LIZKbA5oDo
Screenshots, screen recording, code snippet
No response
Environment info
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