Status messages added using JS are not dismissable

Created on 18 May 2021, over 3 years ago
Updated 17 September 2024, about 2 months 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.71.5 2024