Skip to content

Commit

Permalink
Added closing modal on outside click
Browse files Browse the repository at this point in the history
  • Loading branch information
lmykhailo committed May 15, 2024
1 parent a721946 commit fd77413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/asset-selector/asset-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const AssetSelector: FC<Props> = ({value, onChange}) => {
snapPoints={[700]}
initialSnap={0}
>
<Sheet.Backdrop onTap={handleClose} />
<Sheet.Container className={styles.modalSheetContainer}>
<Sheet.Header />
<Sheet.Content>
Expand Down

0 comments on commit fd77413

Please sign in to comment.