🐛 Fixed outside click exiting Code Injection modal (#19424)

no issue

- fixed a bug causing the full screen code injection to close when
clicking out side of it, which could cause the loss of unsaved changes.
This commit is contained in:
Ronald Langeveld 2024-01-05 12:53:57 +02:00 committed by GitHub
parent 85f3ef3d14
commit 3c4b981674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,7 @@ const CodeModal: React.FC<CodeModalProps> = ({afterClose}) => {
return <Modal return <Modal
afterClose={afterClose} afterClose={afterClose}
backDropClick={false}
cancelLabel='Close' cancelLabel='Close'
footer={<></>} footer={<></>}
height='full' height='full'