New alert component doesn't appear to support classic alerts.

Created on 3 November 2024, 20 days ago

Problem/Motivation

Version 5.5.17 introduced components, including the alert component. The alert component's template, components/alert/alert.twig has an outer wrapper with the class "alert-wrapper" which was used in previous and current versions of this theme for the "Alert bottom" message widget. The "Alert bottom" and "Alert classic" message widgets use the same alert component so the "Alert classic" message widgets display like the "Alert bottom" widget, at the bottom of the window.

Steps to reproduce

Configure the messages widget to "Alert classic". Trigger the display of a message, e.g. flush the Drupal cache. Observe the alert appears at the bottom of the browser window, like the "Alert bottom" message widget.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

5.5

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Christian DeLoach

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

Comments & Activities

Production build 0.71.5 2024