Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute z-index where modals will be inserted #219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Compute z-index where modals will be inserted #219

wants to merge 1 commit into from

Conversation

saalaa
Copy link

@saalaa saalaa commented Feb 26, 2014

This change ensures that the z-index of both the modal and its backdrop are computed according to the same CSS rules that will apply once the actual elements are added to the DOM.

This in fact fixes modals for people who use a prefixed version of bootstrap:

$.fn.modal.defaults.manager = '.bootstrap-css';

This change ensures that the z-index of both the modal and its backdrop are computed according to the same CSS rules that will apply once the actual elements are added to the DOM.

This in fact fixes modals for people who use a prefixed version of bootstrap:

    $.fn.modal.defaults.manager = '.bootstrap-css';
@JelmerD
Copy link

JelmerD commented Apr 18, 2014

I see you have been struggling with the z-index as well. My problem is as follows: #239

I tried your fix if that solved my problem too but it didn't. Perhaps you have an idea on how to solve this properly since it looks like you have a better understanding of this plugin than I do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants