bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Modal in v2 blocking other elements on page when hidden

Open CoreNetJC opened this issue 14 years ago • 3 comments

We are integrating bootstrap into our site and noticed a small problem with modals. It appears to be blocking other elements on the page.

Here is an example: http://testing.paruze.com/sale/details.php?listing_id=99

We have 2 modals set up and they are blocking the very top search box in the header when hidden. This was tested with the very latest Firefox and Safari on a Mac.

I know I can manually set a z-index to correct this, but I thought I would mention it here just in case there is a larger change that needs to be made overall to prevent this problem.

CoreNetJC avatar Apr 09 '12 19:04 CoreNetJC

Does it still block if you remove the "fade" class? What if you move the .modal element to the very bottom of the page. Without looking, it would seem the plugin is improperly calculating how far up it needs to place the modal before fading in.

quasipickle avatar Apr 10 '12 07:04 quasipickle

It appears that I was missing some CSS in the customized bootstrap file I got from the site. The .fade .hide and a couple others were missing.

I removed the carousel section from my customized download as I did not need it and a few other items. Perhaps it lies with the code used to customize the download.

Specifically, the CSS was missing everything between .close and .fade.

I added the proper code back in and it appears to be back to normal. :-)

CoreNetJC avatar Apr 10 '12 17:04 CoreNetJC

Will try to clarify the Customizer dependencies in the future—already an open issue there. Sorry about that.

mdo avatar Apr 12 '12 03:04 mdo