From fd4fa5d1a1b20ec5dde523d909f56b08d4b185cf Mon Sep 17 00:00:00 2001 From: z3ntl3 <48758770+Z3NTL3@users.noreply.github.com> Date: Mon, 27 Oct 2025 22:55:41 +0100 Subject: [PATCH 1/2] Better clarification --- versioned_docs/version-7.x/nesting-navigators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-7.x/nesting-navigators.md b/versioned_docs/version-7.x/nesting-navigators.md index 4264cc57dcb..f98e034d534 100755 --- a/versioned_docs/version-7.x/nesting-navigators.md +++ b/versioned_docs/version-7.x/nesting-navigators.md @@ -177,7 +177,7 @@ When nesting navigators, there are some things to keep in mind: ### Each navigator keeps its own navigation history -For example, when you press the back button when inside a screen in a nested stack navigator, it'll go back to the previous screen inside the nested stack even if there's another navigator as the parent. +For example, when you press the back button of a stack navigator nested within another navigator, it will go to the previous screen of the closest ancestor navigator, for which in this case it is the stack navigator. ### Each navigator has its own options From 780eca098cfc035562bde0efb40769068882c1f8 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Fri, 9 Jan 2026 12:07:57 +0100 Subject: [PATCH 2/2] Rephrase --- versioned_docs/version-7.x/nesting-navigators.md | 4 +++- versioned_docs/version-8.x/nesting-navigators.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/versioned_docs/version-7.x/nesting-navigators.md b/versioned_docs/version-7.x/nesting-navigators.md index f98e034d534..98ebab1354c 100755 --- a/versioned_docs/version-7.x/nesting-navigators.md +++ b/versioned_docs/version-7.x/nesting-navigators.md @@ -177,7 +177,9 @@ When nesting navigators, there are some things to keep in mind: ### Each navigator keeps its own navigation history -For example, when you press the back button of a stack navigator nested within another navigator, it will go to the previous screen of the closest ancestor navigator, for which in this case it is the stack navigator. +For example, lets say you have a stack navigator (lets call it `StackA`) nested within another navigator (lets call it `NavigatorB`). When you press the back button in a screen inside `StackA`, it will go to the previous screen of the closest ancestor navigator of the screen - i.e. `StackA`. + +If the current screen is the first screen in `StackA`, then pressing back will go to the previous screen in `NavigatorB`. ### Each navigator has its own options diff --git a/versioned_docs/version-8.x/nesting-navigators.md b/versioned_docs/version-8.x/nesting-navigators.md index f07b07fc470..fa9aacd255a 100755 --- a/versioned_docs/version-8.x/nesting-navigators.md +++ b/versioned_docs/version-8.x/nesting-navigators.md @@ -100,7 +100,9 @@ When nesting navigators, there are some things to keep in mind: ### Each navigator keeps its own navigation history -For example, when you press the back button when inside a screen in a nested stack navigator, it'll go back to the previous screen inside the nested stack even if there's another navigator as the parent. +For example, lets say you have a stack navigator (lets call it `StackA`) nested within another navigator (lets call it `NavigatorB`). When you press the back button in a screen inside `StackA`, it will go to the previous screen of the closest ancestor navigator of the screen - i.e. `StackA`. + +If the current screen is the first screen in `StackA`, then pressing back will go to the previous screen in `NavigatorB`. ### Each navigator has its own options