Reputation: 540
I have a webview that is a react app (not react native). It is a login page with two input fields and a fixed footer.
When the input is focused the footer comes up and overlaps the input field hiding the password input field.
What can I do so the footer stays under the keyboard?
Upvotes: 1
Views: 1184
Reputation: 6693
getActivity().getWindow().setSoftInputMode(
WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
set this onCreate method of your activity
Upvotes: 2