title: React Navigation: how to prevent stack from popping when dispatching openDrawer from outside of drawerNavigator?
body: <p><strong>Snack</strong>: <a href="https://snack.expo.io/Hkv4A8zjm" rel="nofollow noreferrer">https://snack.expo.io/Hkv4A8zjm</a></p>
  
  <p>Follow these steps to replicate:</p>
  
  <ol>
  <li>Press "Open Drawer" button on Page 1</li>
  <li>Select page2 in the drawer menu</li>
  <li>Press "Go to Page 3" on Page 2</li>
  <li>Press "Open Drawer" on Page 3</li>
  </ol>
  
  <p><strong>Current Behavior</strong></p>
  
  <p>Currently, when you press "Open Drawer" on Page 3, the drawer opens as expected, <em>however the navigator takes you back to Page 2</em>, rather than leaving you on Page 3 where you opened the drawer from.</p>
  
  <p><strong>Expected Behavior</strong></p>
  
  <p>Perhaps this is less expected and more desired but I'd like to be able to open the menu without navigating back to Page 2. The use case is when I have pages that are not top-level, thus are not included in the drawer menu. However, I'd like the user to always have access to the drawer if they'd like to navigate elsewhere -- but if they close the menu without selecting another page, it should return them to where they left off, not navigate them back up the stack.</p>
  
  <p><strong>Question</strong></p>
  
  <p>Is there a way I can either resolve this issue, or another method to hiding screens from the drawer navigation but still allow them to be "pushable" from any screen in the drawer?</p>