Conditional headings don't work in global settings

I can conditionally show/hide a heading in section/block settings, but visible_if gets ignored in global settings.

Input this code anywhere in config/settings_schema.json

  {
    "type": "header",
    "content": "I should not be visible",
    "visible_if": "{{ false }}"
  },

And you will see this:

Hey @Gideon, thanks for flagging this, it does look odd. Before I dig into this further, could you confirm whether a paragraph using the same "visible_if": "{{ false }}" hides correctly beside the global header in settings_schema.json? I just wanted to confirm whether this is isolated to header first. Hope to hear from you soon!

Yes, @Alan_G the paragraph can show/hide in global settings. This only affects the header.

@Alan_G Here is an example: Monosnap. Take note of the Title, Price, Variant picker, etc headers. All of the settings hide when uncheck ‘Enable quick view’, but the headers remain

Hey folks - thanks for the additional confirmation and example here. We’ve got enough to look into this further on our end, so I’m checking internally and will loop back once I have more info. Thanks again for flagging this!