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 2

History 56

  1. Garvin Hicking commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2026-05-05T21:09:19+00:00" > 05/05/26, 21:09 </span>

    Closed as duplicate of #109279 – hope that’s ok with you

  2. Himanshu Ramavat commented <span data-processor="relativetime" data-value="2026-06-10T11:56:49+00:00" > 06/10/26, 11:56 </span>

    Garvin Hicking wrote in #note-2:
    > Closed as duplicate of #109279 – hope that’s ok with you

    Hello,

    I noticed that this issue was closed as a duplicate of #109279 (“Use Popover API for notifications”).

    It has been over a month since the duplicate was referenced, and TYPO3 has had additional releases since then. However, the underlying problem still appears to be present: notifications remain visually obscured when a modal dialog is open.

    Could someone provide a status update on #109279?

    In particular, it would be helpful to know:

    • Whether a solution has already been implemented and is planned for an upcoming release.
    • Whether the issue is still under discussion or awaiting a patch.
    • If there is any workaround currently recommended for extension developers relying on `TYPO3.Notification`.

    Thank you for any update.

  3. Garvin Hicking commented <span data-processor="relativetime" data-value="2026-06-10T15:25:43+00:00" > 06/10/26, 15:25 </span>

    Hi!

    > Could someone provide a status update on #109279?

    Sadly there is no current progress as to my knowledge. Of course we do want to fix this. :-)

    Maybe you can check out the patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/93246 – however it needs merge conflict resolving first.

    Best regards,
    Garvin

  4. Himanshu Ramavat commented <span data-processor="relativetime" data-value="2026-06-10T15:41:06+00:00" > 06/10/26, 15:41 </span>

    Hi Garvin,

    Thank you for the information and for sharing the patch.

    I’ll take a look at the review and see whether I can help with testing or resolving the merge conflicts.

    Best regards,
    Himanshu