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 3673816
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:46:45+00:00 2026-05-19T02:46:45+00:00

On occasion links in the WebView will not respond. The highlight press color will

  • 0

On occasion links in the WebView will not respond. The highlight press color will appear around them but nothing happens. I am also using WebViewClient’s shouldOverrideUrlLoading and that function is not called when this happens.

Edit:

I have narrowed this issue down to the following circumstances:

  • The webpage is the first page a WebView opens.
  • The webpage uses meta name=”viewport” attribute in the html head
  • The WebView is using WebView.getSettings().setUseWideViewPort(true);
  • Android 2.1 (Doesn’t appear to happen in later versions, didn’t test earlier)

If a webpage meeting those above is opened no links will work. If another similar page is loaded, those links will not work either. It is not until you load a page without meta name=”viewport” that links start to work. After a page without that meta attribute is opened and then you load a page with the meta viewport attribute, the links start working.

  • 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-05-19T02:46:46+00:00Added an answer on May 19, 2026 at 2:46 am

    This seems like a ridiculous work around but I guess it works. The first time the WebView loads, if you load a blank dummy html file like

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title></title>
    </head>
    <body>
    </body>
    </html>
    

    before you load anything else, it appears to fix the problem. It also looks like the dummy file has to load completely first, not just start loading.

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

Sidebar

Related Questions

Normally a great boon to humanity, on occasion vim's indent-based folding will get confused
I've seen this on occasion in books I've read. But I've found no explanation.
SVN directories are conveniently easy to move between computers, but this can occasion version
I'm using domdocument load to fetch some data. On occasion, this data is not
I'm using this code to query/search twitter. On occasion my query will have no
On occasion, I have wanted to push a closure onto ActionScript's event stack so
I have occasion to need to print code (Horrors!!! ;) ), and i was
A friend recently had the occasion for a legal name change, which made me
It looks like there are reports released on occasion that detail downloads for some
I've run into problems on numerous occasions of users not having one of the

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.