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

modal should inject .modal-content in bootstrap 3 instead of .modal-body #167

Open
urzur opened this issue Sep 7, 2013 · 3 comments
Open

Comments

@urzur
Copy link

urzur commented Sep 7, 2013

Hello,

I am using bootstrap 3 and am trying to inject remote content into a modal. I want to be able to control the contents of the modal-header, body, and footer within the remote content. However, it seems like content is being injected in .modal-body rather than .modal-content and instead I am getting stacked modals. Please see twbs/bootstrap#9318

@obcidio
Copy link

obcidio commented Sep 28, 2013

Hey, urzur, just dealt with this myself. The BS3 modal includes another div wrapper with the class .modal-dialog which gives the appearance of stacked modals.

I also had to change "bar" to "progress-bar" in the default loading styles.

Right now, I'm having trouble with tap events passing through the modal on iOS7.

@Ccortina
Copy link

were you able to solve the problem about the modal getting stacked?, i just started trying this plugin but got the same problem. any idea?

@MyXelf
Copy link

MyXelf commented Jul 28, 2014

As BS3 is gaining more popularity, been unable to handle the whole modal from the remote content is getting more difficult to handle. Right now, as pointed out by urzur only the .modal-body can be handled and in the case of needing the whole solution, hacking bootstrap-modal seems the least discomfortable solution.

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

No branches or pull requests

4 participants