htmlburger/carbon-fields

Complex fields collapse bug

jerome-barbato opened this issue · 0 comments

Version

  • Carbon Fields: 3.6.3
  • WordPress: 6.4.2
  • PHP: 8

Expected Behavior

Item is collapsed

Actual Behavior

Nothing change

Steps to Reproduce the Problem

Create a block, add a complex field,
Create a page, add the block, edit it in the sidebar

Comments

When editing a block in the sidebar, the item would not collapse because of a CSS issue.

.cf-complex__group-body[hidden]{ display: none; } is overridden by .edit-post-sidebar .cf-complex__group-body { display: block; }

Screenshot from 2024-01-24 14-00-13