WKWebview <input type=file> select a photo,webview will be reload when you back
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
Run react-native info
in your terminal and paste its contents here.
Description
Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
WKWebView behavior. Reloading after Image picker returns
I am getting a weird behavior of a WKWebview. Resuming the problem is that after the web content ask for a image, the...
Read more >UIWebView file chooser issue in iO… | Apple Developer Forums
I 'm using Xcode 7.0. One of the server-loaded pages presented in the UIWebView is a file chooser, similar to: <form action="post.jsp" id="photo" ......
Read more >The Ultimate Guide to WKWebView - Hacking with Swift
WKWebView can load any HTML stored in your app bundle using its loadFileURL() method. You should provide this with a URL to some...
Read more >WebView - Android Developers
WebView objects allow you to display web content as part of your activity layout, ... its overall window so that there will be...
Read more >JavaScript Manipulation on iOS Using WebKit | Capital One
As iOS developers, there are times we want to include web content inside our iOS apps. We may want to load content from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem here.
In iOS, in the input file always when selecting a photo or take a picture, the webview does reload, being impossible to complete the action. Only when “useWebKit” = true
For now I’m using “useWebKit” = false, so it works as expected.
@FrK492 hey, man, Lately, I have been using react-native-community/react-native-webview independently which can avoid that situation, I think community and react native team trying to remove webview from the React Native core as independent module, so now those modules are not sync up.