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 )
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.
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 )