From 171fd5459e4d717e89fcb8bc3a9e72f90e03d2d5 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Tue, 6 Feb 2018 17:35:32 -0800 Subject: [PATCH] Prevent pop and popToTop from bubbling up to parent stack (#3453) --- .../NavigationPlayground/js/SimpleStack.js | 1 + .../src/routers/StackRouter.js | 14 +++- .../src/routers/__tests__/StackRouter-test.js | 70 +++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-) diff --git a/packages/react-navigation/examples/NavigationPlayground/js/SimpleStack.js b/packages/react-navigation/examples/NavigationPlayground/js/SimpleStack.js index 58ded7c2..936c9c1e 100644 --- a/packages/react-navigation/examples/NavigationPlayground/js/SimpleStack.js +++ b/packages/react-navigation/examples/NavigationPlayground/js/SimpleStack.js @@ -28,6 +28,7 @@ class MyNavScreen extends React.Component { title="Go to a profile screen" />