Skip to content

Commit

Permalink
Merge pull request #47950 from Krishna2323/krishna2323/issue/47559
Browse files Browse the repository at this point in the history
fix: Subscription - Clicking Outside the Modal Doesn't Close It, Causing Inconsistency.
  • Loading branch information
puneetlath authored Aug 29, 2024
2 parents e66b123 + 55929c2 commit 8c0386a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/AddPaymentCard/PaymentCardCurrencyModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import RadioListItem from '@components/SelectionList/RadioListItem';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import useWindowDimensions from '@hooks/useWindowDimensions';
import Navigation from '@libs/Navigation/Navigation';
import CONST from '@src/CONST';

type PaymentCardCurrencyModalProps = {
Expand Down Expand Up @@ -55,6 +56,7 @@ function PaymentCardCurrencyModal({isVisible, currencies, currentCurrency = CONS
onModalHide={onClose}
hideModalContentWhileAnimating
innerContainerStyle={styles.RHPNavigatorContainer(isSmallScreenWidth)}
onBackdropPress={Navigation.dismissModal}
useNativeDriver
>
<ScreenWrapper
Expand Down

0 comments on commit 8c0386a

Please sign in to comment.