fix: modal outside click fix

Description:
Modal window should not closed when click outside the modal
VAN-1615
This commit is contained in:
ahtesham-quraish
2023-08-22 11:21:30 +05:00
parent 736abb4247
commit 362d2406d3
3 changed files with 3 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ exports[`ModalView snapshot should renders default ModalView 1`] = `
>
<ModalDialog
hasCloseButton={false}
isBlocking={true}
isFullscreenScroll={true}
isOpen={true}
onClose={[MockFunction]}

View File

@@ -29,6 +29,7 @@ export const ModalView = ({
onClose={onClose}
hasCloseButton={false}
isFullscreenScroll
isBlocking
>
<ModalDialog.Header>
<ModalDialog.Title>

View File

@@ -18,7 +18,7 @@ const messages = defineMessages({
},
seeAllRecommendationsButton: {
id: 'RecommendationsPanel.seeAllRecommendationsButton',
defaultMessage: 'See All Recommendations',
defaultMessage: 'See all recommendations',
description: 'Button to see all recommendations',
},
});