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

Hidden event gets triggered too early

Open wouterroos opened this issue 12 years ago • 0 comments

When trying to use the 'hidden' event too remove the specified modal from the DOM I stumbled upon an issue where the modal element was not re-added to it's original place in the DOM after being closed. I was able to fix this issue by removing the asynchronous animation in the modal.$element.on('hidden.modalmanager') handler in the bootstrap-modalmanager.js file and replacing it with a synchronous variant. Perhaps this can be included in future releases.

wouterroos avatar Nov 06 '13 07:11 wouterroos