Skip to content
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

Input field not selectable on Android #2243

Closed
potatoengineer opened this issue Nov 18, 2021 · 4 comments
Closed

Input field not selectable on Android #2243

potatoengineer opened this issue Nov 18, 2021 · 4 comments

Comments

@potatoengineer
Copy link

Bug description:
On Android, tapping the search bar does nothing. It will not focus and as a result, the keyboard does not appear and I cannot type anything in order to search. This works on iOS.

To Reproduce:
Here is my code:

import React from 'react';
import WebView from 'react-native-webview';

const PDFViewer = () => (
  <WebView source={{ uri: 'https://online.flippingbook.com/view/309034/' }} />
);

export default PDFViewer;

Expected behavior:
After tapping the top right magnifying glass icon to navigate to the search screen, tapping the search bar should allow a user to type something in to search.

Screenshots/Videos:
Here is a snack: https://snack.expo.dev/5lMl7Wel8?

Environment:

  • OS: Android
  • OS version:
  • react-native version: 0.63.4
  • react-native-webview version: confirmed on 11.6.2 and also on 11.13.0
@abdullahkhan70
Copy link

abdullahkhan70 commented Nov 20, 2021

I in fact tried to do it through the Natively, but still, it is showing the same error. I think we can not do anything because there is no id or class associated with the search input field.

@ahmadcitrusbits
Copy link

Hey, @potatoengineer I fixed this issue by providing nestedScrollEnabled = true that works for android.

@github-actions
Copy link

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

@TaylorPringleNZME
Copy link

Hey @potatoengineer, did you find a solution to this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants