Skip to content

Commit

Permalink
Add comment to presentation transparentModal
Browse files Browse the repository at this point in the history
  • Loading branch information
tugbadogan committed Jun 7, 2021
1 parent 9c067fd commit aa81556
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libs/Navigation/AppNavigator/AuthScreens.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ class AuthScreens extends React.Component {
animationEnabled: true,
gestureDirection: 'horizontal',
cardOverlayEnabled: true,

// This option is required to make previous screen visible underneath the modal screen
// https://reactnavigation.org/docs/6.x/stack-navigator#transparent-modals
presentation: 'transparentModal',

// This is a custom prop we are passing to custom navigator so that we will know to add a Pressable overlay
Expand Down

0 comments on commit aa81556

Please sign in to comment.