Skip to content

Commit

Permalink
Merge pull request #42648 from software-mansion-labs/fix-closing-full…
Browse files Browse the repository at this point in the history
…-screen-navigator

[Ideal nav] Fix delay when closing FullScreenNavigator on wide layout.
  • Loading branch information
marcochavezf authored May 27, 2024
2 parents 63a20f4 + 57bd4aa commit e430c2d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ const getRootNavigatorScreenOptions: GetRootNavigatorScreenOptions = (isSmallScr
// This is necessary to cover whole screen. Including translated sidebar.
marginLeft: isSmallScreenWidth ? 0 : -variables.sideBarWidth,
},

// We need to turn off animation for the full screen to avoid delay when closing screens.
animationEnabled: isSmallScreenWidth,
},

centralPaneNavigator: {
Expand Down

0 comments on commit e430c2d

Please sign in to comment.