AEM Core Accordion component reorder and delete actions not working for new items

This article explains how to resolve an issue where the reorder and delete actions do not work for newly added items in the Adobe Experience Manager (AEM) Core Accordion component dialog, often due to custom client libraries interfering with out-of-the-box functionality.

Description description

Environment

  • Adobe Experience Manager (AEM) Core Accordion component
  • Issue occurs across all environments, user roles, and browsers

Issue/Symptoms

  • After adding new items or panels to the Core Accordion component, the options to reorder or delete these items in the component dialog do not function as expected.
  • No errors are shown in the browser console.

Cause

This issue is often related to custom client libraries that override or interfere with the out-of-the-box Core Components’ children editor client library.

Resolution resolution

To fix the reorder and delete issue for newly added Accordion items, follow these steps:

  1. Check for custom client libraries related to the Accordion component that may be loaded alongside the out-of-the-box Core Components children editor client library.
  2. Test the Accordion component on a clean AEM instance with only Core Components installed and no custom or overlay project code. Verify that the reorder and delete functionality works as expected in this environment.
  3. If the issue does not occur in the clean environment, temporarily remove or disable any custom Accordion children editor client libraries in your main environment.
  4. Retest the reorder and delete actions in the Accordion dialog. If the functionality is restored, the issue is likely caused by the custom client library interfering with the out-of-the-box behavior.
  5. Review and refactor any custom client library code to ensure it does not conflict with the Core Components’ item management features.
  6. After making changes, verify that the reorder and delete actions work as expected for newly added Accordion items.
recommendation-more-help
experience-cloud-kcs-help-kbarticles