Conflict with other modal windows

Created on 14 May 2019, about 6 years ago
Updated 5 July 2020, almost 5 years ago

After applying the workaround in https://www.drupal.org/project/responsive_menu/issues/2845083 β†’ to get the module to work in Bootstrap, I ran into a separate problem.

I am designing a site where the burger is visible on all screens which produces a full menu. Across the top, I have four regions that contain a custom block that only contains a short text with a link that opens a views block in a modal window. The idea is to use it as a megamenu to present specific content types.

Everything works as designed except it activates the page dim setting from this module over everything, including the modal window. It actually is kind of a nice side effect and I can work around it by setting a css class to increase the z-index of the modal to something over 1040 to expose it but it probably should not be activated by modals created outside of the module.

πŸ› Bug report
Status

Closed: works as designed

Version

2.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Hookset Media

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.

  • πŸ‡¦πŸ‡±Albania elvin - albania drupal developer

    i got the same error too.

    i am using bootstrap_barrio (bootstrap 5) and have set up a child theme.

    whenever i try to invoke a modal, even using just the standard bootstrap markup, when i launch it, the site breaks and the mobile menu gets triggered.

Production build 0.71.5 2024