Click outside BE modal content doesn't close the modal
A nice modal usability feature could be to allow the BE user to close the modal clicking outside of its content.
This behavior should be triggered with a modal configuration option.
Updated by Christian Toffolo 7 months ago
Actually I could work only on the minified version of TYPO3 BE modal.js.
To close the modal with a click outside the modal content I added:
to 'shown.bs.modal' event.
after the modal is shown, when user clicks on modal, if the target of the click is '.modal-dialog' (so everything outside '.modal-content') then hide the modal.