Skip to content

ACF 5 - Flexible field default collapse not working #21

@JuTu83

Description

@JuTu83

Hi,

Flexible field can be collapsed by default when clicking the title area. After activating ACF-Repeater-Collapser, this does not work anymore.

Adding a class "acf-fc-layout-handle" to the acfRepeaterToggleSingle makes this to work again.

$( '.field_type-repeater .row-layout,.field_type-flexible_content' ).on(
'click',
'.field-repeater-toggle-single, .acf-fc-layout-handle',
acfRepeaterToggleSingle
);
flexible-field

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions