Status messages added using JS are not dismissable

Created on 18 May 2021, about 3 years ago
Updated 19 May 2024, about 1 month ago

Problem/Motivation

When adding a status message using JS (Drupal.message() or Drupal\Core\Ajax\MessageCommand) with another status message already present, it's doesn't have a close button.

Steps to reproduce

Add a status message using JS (Drupal.message() or Drupal\Core\Ajax\MessageCommand)

Proposed resolution

I'm no Drupal frontend expert, but I think JS theme overrides are possible. (see Drupal.theme('message') in message.es6.js)

Remaining tasks

๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium DieterHolvoet Brussels

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

Merge Requests

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.69.0 2024