Layout Builder "Remove Section" does not work in Umami JSX

Created on 20 March 2024, about 1 year ago
Updated 22 March 2024, about 1 year ago

Problem/Motivation

When using Layout Builder + Umami JSX, the "Remove section" off-canvas opens properly, but when submitting the form to confirm "yes, I want to remove this section", the section is not actually removed. Fixing this may require overriding some Ajax functionality, see below for core Ajax-related files that are already overidden by this theme, and are probably the place the solution to this issue will be implmemented.

Files to note

  • ajax.process.js takes AJAX-added code and hyperscriptifys it. The hyperscriptified results are thensent through Drupal behaviors
  • dialog.ajax.modified.js and ajax.modified.js are copies of core's dialog.ajax.js andajax.js that are used instead of the core versions. Some JSX Umami specific changes were made in those files, but most of the code is identical to the core verions.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed

Version

1.0

Component

Umami JSX Demonstration Theme

Created by

🇺🇸United States bnjmnm Ann Arbor, MI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024