bootstrap-modal icon indicating copy to clipboard operation
bootstrap-modal copied to clipboard

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

Open urzur opened this issue 11 years ago • 3 comments

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 https://github.com/twbs/bootstrap/issues/9318

urzur avatar Sep 07 '13 18:09 urzur

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.

obcidio avatar Sep 28 '13 02:09 obcidio

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?

Ccortina avatar Oct 28 '13 23:10 Ccortina

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.

MyXelf avatar Jul 28 '14 14:07 MyXelf