Search code examples
react-nativekeyboardreact-native-iosinputaccessoryviewreact-native-webview

How to hide the keyboard toolbar (InputAccessoryView) in WebView in React native? (iOS)


I use WebView in react native and when clicking input and the keyboard open i get with the keyboard toolbar (InputAccessoryView) how i can hide this line? or control on this part, like change "done" text?

webview keyboard open


Solution

  • just referred the issues in react-native-webview and found an ios only props called hideKeyboardAccessoryView which may resolve this issue. following links are the way i find-out it and the source code reference . this feature available version 2.3.0 or greater

    https://github.com/react-native-community/react-native-webview/issues/38

    https://github.com/react-native-community/react-native-webview/pull/67

    enter image description here