Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Android + PG crashes when only one input on page #3208

@chipqcl

Description

@chipqcl

In a JQM/PhoneGap app running on Android 2.2, when you type three characters into a form, the app crashes (I've tested it on a Samsung Captivate and on the Android emulator, with the same results). It works fine on Android 2.3.

PhoneGap Support tells me it's an "Android webview issue" and that I should submit an issue with JQM.

Here's a mini app built to demonstrate the bug (i.e. index.html):

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
     <title>Test JQM/PhoneGap App</title>
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <link rel="stylesheet" href="css/jquery.mobile-1.0.css" />
     <script type="text/javascript" charset="utf-8" src="phonegap.js"></script>
     <script type="text/javascript" src="js/jquery-1.6.4.js"></script>
     <script type="text/javascript" src="js/jquery.mobile-1.0.js"></script>
 </head>
 <body>

 <div data-role="page" id="pageone">
     <div data-role="content">
         <label for="testid">Type 3 characters to crash Android 2.2:</label>
         <form>
             <input type="text" name="testfield" id="testid" />
         </form>
     </div>
 </div>

 </body>
 </html>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions