Remove Admin Toolbar from preview

Created on 7 April 2022, almost 3 years ago
Updated 7 February 2023, almost 2 years ago

Problem/Motivation

Thank you for Split Preview — it's a great improvement to the preview UX. Including the toolbar in the preview can be problematic, especially if the project uses Admin Toolbar with Admin Toolbar Extra Tools enabled. The dropdown appears when transitioning from full screen back to the starting width. See the quick demo below.

Proposed resolution

Consider preventing toolbar rendering with hook_preprocess_html() that only executes for split_preview iframed content.

Merge request to follow.

Feature request
Status

Needs review

Version

1.0

Component

User interface

Created by

🇺🇸United States justcaldwell Austin, Texas

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024