Support › General › Collapsed by Default State Not UpdatingResolved
I am having an issue with a custom field group remaining closed after toggling the collapsible setting under the field group. It appears the "closed" class is not being removed after toggling.
Here is an image of the metabox settings page: https://inspire.company/metabox.png
Here is an image of the gutenberg panel: https://inspire.company/gutenberg.png
Here is an image of the html with the closed class I am referring to: https://inspire.company/html.png
If you set the meta box style to Seamless, then the postbox header (meta box title) will be hidden. So how can you toggle the meta box on the sidebar?
The closed class is added by WordPress itself when a meta box is collapsed, it will be removed if the meta box is expanded.
I figured out what I did wrong.
1) I changed to the default WordPress postbox and it was toggled closed.
2) I changed back to seamless and it disappeared because it held the closed state from before.
The fix was to switch back to the WordPress postbox and open it. Save. Then switch back to seamless and it's no longer hidden. 🙂
Your reply helped me figure it out. Thanks!