Problems with z-index relative to core dialogs

Created on 16 May 2018, over 6 years ago
Updated 1 August 2023, over 1 year ago

The superfish menu can end up on top of core dialogs, such as views "Configure field". As far as I can see this is not specific to my website, but occurs with Drupal core.

  • superfish.css assigns z-index 497..499
  • \core\themes\seven\css\components\dialog.css assigns z-index: 1260 to .ui-dialog

  • But this gets overridden by core\assets\vendor\jquery.ui\themes\base\core.css assigns z-index 100 to ui-front

I wonder if this is a recent change as I've not noticed it before. Perhaps superfish.css ought to change to 97..99?

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom adamps

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ivnish Kazakhstan

    Hi AdamPS! Is this actually?

  • Status changed to Closed: outdated over 1 year ago
  • 🇬🇧United Kingdom adamps

    I can no longer reproduce this. It seems that the order of CSS inclusion in core has changed so that the z-index of 1260 takes precedence over the z-index of 100.

Production build 0.71.5 2024