Remove footer from modal

Created on 21 July 2023, over 1 year ago

Problem/Motivation

Footer blocks are appearing in the modal, but probably shouldn't be.

This may be a result of using the front end theme as admin, and normally there wouldn't be admin blocks in the footer.

Proposed resolution

We can unset page.footer in layout_builder_iframe_modal_preprocess_html().

Alternatively, we can tell themers to implement their own hook to unset page regions. Documentation would help figure it out, and a contrib module won't be able to catch all the region names themes could be using.

Remaining tasks

Decide which way makes sense.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024