jameskleeh / angular-confirm

Confirmation modal dialog for AngularJS
Apache License 2.0
150 stars 75 forks source link

Conflicting with the class of another modal #72

Closed hardiksondagar closed 8 years ago

hardiksondagar commented 8 years ago

I'm using $confirm inside angular-ui's uibModalInstance and it's updating with the class of already opened modal. I'm using custom css class modal-wide in parent div of modal-dialog in first modal.

Before $confirm modal

After $confirm modal open ( first modal's width back to medium as $confirm modal removed the modal-wide class )

jameskleeh commented 8 years ago

That is ui-bootstrap doing that. My code doesn't do anything directly to the modal. The same thing would occur if you opened another modal with ui-bootstrap with the same options.