jQuery Mobile select "twitches" to first item after opening for some time -


i'm having issue annoying "twich" when trying select option using jquery mobile.

to reproduce issue:

see: http://jsfiddle.net/4axh8/

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" /> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>            <select name="select-choice-1" id="select-choice-1">   <option value="standard">standard: 7 day</option>   <option value="rush">rush: 3 days</option>   <option value="express">express: next day</option>   <option value="overnight">overnight</option> </select> 
  1. open select menu.
  2. hover mouse on "overnight" option.
  3. wait ~2 seconds, observe goes "standard: 7 day" option.

notes

once "twitch" event happens, you'll have hit "run" in jsfiddler initiate state in issue occurs in.

html taken straight site: http://jquerymobile.com/demos/1.0a4.1/docs/forms/forms-selects.html

anyone know happening here?

this issue caused following line ~11091 of jquery.mobile-1.3.2.js:

// fallback. if goes wrong (js errors, etc), or events don't fire, // ensures rendering class removed after 5 seconds, content visible , accessible settimeout( hiderenderingclass, 5000 ) 

commenting out resolved issue. or can change hiderenderclass() to:

function hiderenderingclass() { if ($html.hasclass( "ui-mobile-rendering" )) {         $html.removeclass( "ui-mobile-rendering" );     } } 

-geoff


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -