-
Notifications
You must be signed in to change notification settings - Fork 24.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebView didn't get canGoBack correctly #14889
Comments
The bug report is missing some necessary details. Please read the contributing guide and open a new issue, thanks! |
same problem. |
When the second page is loading, I get |
same issue as @0x5e in RN 0.50.3 |
+1 |
Still happening, this especially hurts because there's no other way (that I know of) to correctly tell if the current webview can go back. |
Just confirming this is a bug. To Reproduce:
What Happens: What should happen: |
in android the console logs true as the next page begins to load and true after the page has loaded |
@hramos Please open this bug again 🤔 |
Please open a new issue. |
When the second page is loading, I don't get onNavigationStateChange callback , Tested on iOS 10.3.3 , RN 0.46.2, but the Android don't have this bug |
Not fist page,iOS 11.0 no have this problem,canGoback == true,but iOS 11.4 have this problem, canGoback == false. |
Have you read the Bugs section of the Contributing to React Native Guide?
(Write your answer here.)
Environment
react-native -v
:react-native-cli: 2.0.1
react-native: 0.45.1
node -v
:v8.1.2
npm -v
:5.0.3
yarn --version
(if you use Yarn):0.24.6
Then, specify:
iOS
macOS Sierra
iOS >8.0 Xcode 8.3.3
Steps to Reproduce
1.add an webView and a button call webView's goBack
2.view some page and go back
3.check whether the canGoBack is right
Expected Behavior
the canGoBack is false when back to the first page
the canGoBack is true when viewing deeper page
Actual Behavior
the canGoBack sometime is false at the page which is not the first loaded page.
The text was updated successfully, but these errors were encountered: