Problem/Motivation

I have faced an issue with AJAX submits, during this process I see that if I have some view exposed forms on the LB pages, and during the AJAX filtering the module loses the connection to Lthe B theme and instead of the LB theme it uses non-LB, it was causing some wrong templates to be associated with the page.

Steps to reproduce

  1. Create the LB page with an exposed form on it
  2. Use AJAX submitting
  3. Use a filter and check that the theme is now not the LB one

Proposed resolution

I propose to extend the LayoutBuilderThemeNegotiator functionality similar to the one we have in AjaxBasePageNegotiator

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

danmer created an issue. See original summary.

danmer’s picture

Status: Needs work » Needs review

I have created the MR, please check.

froboy’s picture

Thanks @danmer!

froboy’s picture

Version: 1.0.0 » 1.0.1
Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.