react-native/React
Andrew Gray 774296b263 Implemented stopLoading
Summary:**Motivation:** In my app, I'm using a WebView that loads content from my mobile site.  What I want to do is when a user presses a link on the loaded page, I want to stop the WebView's request, hijack the URL and open the URL in a new WebView, pushed to the top of the navigator stack.  To me, this gives the overall app a more native feel, instead of implementing a rudimentary navbar on the main WebView to go back.

**Attempted Workarounds:** I've attempted to get similar functionality by capturing the onNavigationStateChange event in the WebView, and then within calling goBack + pushing the new view to the navigator stack.  From a functionality standpoint, this works.  However, from a UI standpoint, the user can clearly see the webview change states to a new page + go back before having the new view pushed on top of their nav stack.
Closes https://github.com/facebook/react-native/pull/6886

Differential Revision: D3212447

Pulled By: mkonicek

fb-gh-sync-id: 05911e583d9ba54ddbd54a772153c80ed227731e
fbshipit-source-id: 05911e583d9ba54ddbd54a772153c80ed227731e
2016-04-22 08:15:25 -07:00
..
Base pass flexiblity to shadowrootview on its creation 2016-04-20 10:53:21 -07:00
Executors Fix leaked cookieMap in RCTJSCExecutor 2016-04-22 06:44:26 -07:00
Layout Import css-layout measure mode changes from pull request #163 2016-04-12 07:02:29 -07:00
Modules Improve error handling in require-unbundle 2016-04-22 06:18:26 -07:00
Profiler Use indirect jumps on armv7 2016-04-04 06:49:19 -07:00
React.xcodeproj Support the bytecode cache for FBReactKit 2016-04-21 08:59:43 -07:00
Views Implemented stopLoading 2016-04-22 08:15:25 -07:00