Issue Bug Closed

#109775Backend notifications are obscured by open modals (top-layer dialogs)

Himanshu Ramavat 05/05/26, 13:19 updated 06/10/26, 15:41

Description

Since TYPO3 v14 the backend modal (<typo3-backend-modal>) is built on the<br>native </typo3-backend-modal>

element and opened via HTMLDialogElement.showModal(). The
dialog and its ::backdrop enter the browser top layer, which renders
above every non–top-layer element regardless of z-index.

The notification container #alert-container is appended to
@document.body@ as a regular DOM element with z-index: 10000.
Because z-index does not apply across the top-layer boundary, every flash
message is rendered behind the backdrop of an open modal, making it visually
dimmed and partially or fully obscured.

This breaks the most common UX path of “perform an action inside a modal,
receive a flash message confirming success/failure”: the user never sees the
confirmation while the modal is still open.

Steps to reproduce

  1. Open the TYPO3 v14 backend.
  2. Trigger any modal (e.g. Maintenance → Analyze Database Structure).
  3. While the modal is open, dispatch a notification, for example via the
    browser console:
top.TYPO3.Notification.success('Test', 'Hello from behind the modal');
  1. Observe: the alert renders in the lower-right corner but is dimmed by the
    modal backdrop and cannot receive focus / clicks.

Expected behavior

Notifications should remain visible and interactive (close button, action
buttons) while a modal is open. They should stack above the dialog regardless
of z-index, because they are conceptually a separate UI layer.

Actual behavior

Notifications sit beneath the dialog’s ::backdrop because they live outside
the browser’s top layer.

Reviews 1