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

Added support for configuring an input accessory view. #220

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jspeth
Copy link

@jspeth jspeth commented Feb 8, 2019

Adds support for using a React Native InputAccessoryView with the web view. See https://facebook.github.io/react-native/docs/inputaccessoryview for an example. You use this exactly as you would use the input accessory view with a TextInput component.

@jordoh
Copy link

jordoh commented Jun 18, 2019

@jspeth - thanks, this is working great.

One oddity I've noticed is that calling blur() on a focused element from javascript running within the webview will dismiss the keyboard, but won't resign first responder status, leaving the input accessory visible at the bottom of the screen. This seems outside the scope of this PR, but I thought I would mention it since there doesn't appear to be a way to call resignFirstResponder on the webview without adding it.

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

Successfully merging this pull request may close these issues.

None yet

2 participants