Removed backdrop click on modals

refs https://github.com/TryGhost/Product/issues/3828
This commit is contained in:
Djordje Vlaisavljevic 2023-09-06 13:41:31 +01:00
parent 448e91d916
commit 712da704f7
3 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,7 @@ const AddRecommendationModal: React.FC<AddRecommendationModalProps> = ({recommen
updateRoute('recommendations');
}}
animate={animate ?? true}
backDropClick={false}
okColor='black'
okLabel={okLabel}
size='sm'

View File

@ -72,6 +72,7 @@ const AddRecommendationModalConfirm: React.FC<AddRecommendationModalProps> = ({r
updateRoute('recommendations');
}}
animate={animate ?? true}
backDropClick={false}
cancelLabel={'Cancel'}
dirty={true}
leftButtonProps={leftButtonProps}

View File

@ -51,6 +51,7 @@ const EditRecommendationModalConfirm: React.FC<AddRecommendationModalProps> = ({
updateRoute('recommendations');
}}
animate={animate ?? true}
backDropClick={false}
cancelLabel={'Cancel'}
okColor='black'
okLabel={okLabel}