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
Add ability to focus the <WebView> #18965
Comments
Thanks for posting this! It looks like your issue may be missing some necessary information. Can you run Thank you for your contributions. |
@react-native-bot sure buddy, here you go:
|
Thanks for posting this! It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest release, v0.55? Thank you for your contributions. |
@react-native-bot yes, we just upgraded to v0.55 and this still is an issue |
Thanks for posting this! It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest release, v0.55? Thank you for your contributions. |
It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest release, v0.55? |
@vladikoff I think you should try changing react-native versions in issue description for the bot to understand you :) |
@vladikoff I'm also facing issue and wonder if you've found any solution. |
@ocyedwin One solution i found was recompiling react-native from source and tweaking the WebView code so it requests focus |
@vladikoff Nice! Any intention sharing the tweak or even doing a PR? |
@ocyedwin posted a solution in https://stackoverflow.com/a/50635924/216672 Let me know if you need help |
@vladikoff There is a solution in react-native-enhance-webview,you can know it if you need |
@TryImpossible nice! thank you |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
Environment:
OS: macOS High Sierra 10.13.2
Node: 8.10.0
Yarn: 1.3.2
npm: 5.8.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: ~16.2.0 => 16.2.0
react-native: ~0.54.2 => 0.54.2
Expected Behavior
The https://facebook.github.io/react-native/docs/webview.html WebView component should have a way to autofocus itself. Once the autofocus is triggered, the HTML elements that have
autofocus
attributes will be focused in the loadedActual Behavior
No API available at this time
The text was updated successfully, but these errors were encountered: