Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8375103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:05:14+00:00 2026-06-09T15:05:14+00:00

I have an app that utilizes PhoneGap (HTML5, JavaScript, not native). There’s a vicious

  • 0

I have an app that utilizes PhoneGap (HTML5, JavaScript, not native). There’s a vicious bug that pops up whenever I click on a TextArea in the app that moves some of my elements on the screen (specifically, it bungles things that are position:fixed).

To fix these issues, I would like to be able to disable the feature that scrolls the UIWebView when the keyboard pops up, but I’m unsure of how to do this.

Not sure if this is clear, or not, but how does one disable the scrolling of a UIWebView when the keyboard shows.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:05:15+00:00Added an answer on June 9, 2026 at 3:05 pm

    I think this is a bug (or rather missing feature?) in UIWebView. I worked around it by saving the textView.scrollView.contentOffset on -keyboardWillShow: and setting the contentOffset to the saved value in -keyboardDidHide:

    Not nice, because you still see it briefly scrolling around, but less disturbing than completely losing the focus.

    An alternative would be to implement the portion with the long text as a native UITextView where this kind of undesirable behavior does not happen.

    Edit:
    Yet another workaround is to not use contenteditable. If you can manage to design a usual text input field, then the scrolling will zoom to the currently selected textfield (that’s also btw why the contenteditable behaves so strange, as it cannot find anything to zoom in on). Additionally the *!§*$ previous-next keyboardInput bar becomes useful again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have an HTML5 web app that utilizes localstorage/websql/app cache. Now that the
I have a VB6 app that utilizes a non-activeX DLL (non-registering). It's declared via
I have a small WinForms app that utilizes a BackgroundWorker object to perform a
I have a ASP.NET web app that utilizes ReportViewer to show local reports. Everything
I have a certain class structure in my app, that currently utilizes django for
I am writing a status item app that does not have an NSWindow. I
I have an iPhone app that utilizes TableView to list tagged items that the
Alright, so I'm at wits' end. I have an app that utilizes pushing and
I have a Silverlight app that utilizes the Bing Maps control. Data loads when
I have an MVC2 app that utilizes MySql.Web ver. 6.2.2.0, on my dev machine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.