title: Android App soft keyboard covers web page's textarea embedded in webview
body: <p>I have an Android app which opens a website inside its web view that is embedded inside a fragment, the fragment is controlled by a bottom navigation bar. The app is not running in full screen mode. I have action tool bar on the top of web view.</p>
  
  <p>The web page inside webview works fine.</p>
  
  <p>However, the problem is if the web page contains a <code>&lt;textarea&gt;</code>, when user start typing the content inside Android pops up its soft keyboard which covers the Textarea, that makes the user unable to see what has been typed inside.</p>
  
  <p>I have done a lot google search and tried with setting things like in AndroidManifest.xml file add the attribute:</p>
  
  <pre><code>android:windowSoftInputMode="adjustResize"
  </code></pre>
  
  <p>Or in my fragment Java code I put the following:</p>
  
  <pre><code>getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
  </code></pre>
  
  <p>Or I even tried in the web page I put the following javascript:</p>
  
  <pre><code>&lt;textarea rows="4" cols="50" maxlength="100" v-model="message" ref="message" onfocus="this.scrollIntoView();"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>But none of these resolve my problem. Could you please help?</p>
  
  <p>Thank you.</p>