Breaks toolbar due to z-index getting unset

Created on 31 August 2023, 10 months ago
Updated 11 January 2024, 6 months ago

Problem/Motivation

Z-index is getting a value of unset which breaks integration with toolbar.

    Drupal.behaviors.ief_popup = {
        attach: function (context, settings) {

            /* make sure the Drupal toolbar is placed behind the IEF Complex Widget Dialog */
            if ($(".ief-popup-wrapper", context).length > 0) {
                $(".toolbar").css("position", "relative");
                $(".toolbar").css("z-index",  1);
            }
            else {
                $(".toolbar").css("z-index",  "unset");
            }
          $(".toolbar").css("z-index",  "unset");
.
.
.

Steps to reproduce

* Install the module
* Confirm toolbar haz z-index issues, specially on gin with the shortcuts menu.

Proposed resolution

Fix JS

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡¨πŸ‡·Costa Rica alemadlei

Live updates comments and jobs are added and updated live.
  • JavaScript

    Affects the content, performance, or handling of Javascript.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024