jQuery Mobile 1.2.0 Release Candidate 2

Posted on by

The jQuery Mobile team is excited to announce the second release candidate for 1.2.0. We had a few bugs come in with RC1 that we wanted to fix up before going final. Notably, we’ve re-enabled the fix for selects and inputs zooming in unnecessarily in iOS6 and improved popup support in Opera Mini (though positioning is still less than ideal).

There are a ton of great new features in 1.2.0 so if you haven’t been following along, see the alpha, beta, and RC1 blog posts for full details of features and changes leading up to this RC.

We’re hoping this will be the last RC before heading to the final release. If we don’t see a showstopper bug come in, this will be the same code we’ll release as 1.2.0 stable. Please help us test and report issues before we move to the final version. Try it now!

Demos & docs | Change log | Download & CDN

Change log (since 1.2.0 RC1)

CSS

Adjusting comment to be simple apostrophe rather than special character  – Remove an unusual character in CSS comment that was causing compilation problems. Thanks @ecaron!

Core

When the hash portion of the initial URL is exactly equal to the dialog hash key, we must trigger a hashchange (Issue: #5021)

Framework, general

Added new jQM logo to docs homepage – Learn more about the new jQuery Mobile Logo

Navbar

Added clearfix for navbar (Issues: #5008 #5032) – CSS improvement to avoid styling issues when Navbars placed in listviews.

Popup

Add hashListeningEnabled to the intersection that establishes whether we will use history or not

Do not use history when there is no AJAX (Issue: #5006) – Fix for non working popups on BlackBerry 5.

Prevent positioning context bug for close buttons within popups in Opera Mini

Reuse dialog hash if already present and tack on another if it is part of the initial hash (Issue: #4994) – Popup refactoring to support browser refresh when a popup is open.

Use $.inArray, because IE does not seem to have .indexOf() on arrays

Select

Event timing difference in iOS 6 was causing zoom to be disabled and immediately re-enabled prior to the zoom taking place (Issue: #5041) – Fix for iOS 6 which reintroduces a select input page-zoom issue.

Toolbar

Added class ui-popup to tapToggleBlacklist – The tap toggle feature for fixed toolbars now is disabled when popups are open.

Download

CDN-Hosted JavaScript:

CDN-Hosted CSS:

Copy-and-Paste Snippet for CDN-hosted files (recommended):

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.css" />
<script src="http://code.jquery.com/jquery-1.8.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.js"></script>

ZIP File: If you want to host the files yourself you can download a zip of all the files:

Microsoft CDN hosted jQuery Mobile files:

Fork jQuery Mobile on GitHub
https://github.com/jquery/jquery-mobile

  • vine

    Just great! Keep up the good work guys!!!!!

  • xpeedite shao

    Please fix the transition. Still pain when white page shown up. Thanks!

  • kimys

    Thanks guys and great job and so fast

  • Kiran

    Can we get page coordinates when we using “swipeleft” and ‘swiperight’ events.

  • Toni

    Select is not displayed properly, and it cannot be closed. the same works fine with jqm1.1.1

  • Kim Rasmussen

    Hi
    Good stuff!
    I am trying to build a Popup menu on the fly, but it seams like it does not get rendered ..
    Is theer a way to call the Create method before I show the Popup?
    Thanks
    Kim

    • Kim Rasmussen

      Found that if you put the DIV section in the Page section it works.. Thanks !

  • Robson

    Please fix the expander into expander. Tanks!!!

  • kiran

    Please resolve the flickering while page navigating with transitions.

  • Greg Stevenson

    Just logged an issue with popups on Android 4.0.4 (https://github.com/jquery/jquery-mobile/issues/5116) – does anyone else have the same problem?

  • Chad Price

    It would be nice if $.mobile.loading provided (possibly themeable/configurable) an overlay similar to the one that appears when you open a popup (for example: $(“#mypopup”).popup(“open”); ) so that one can provide a status message when ajax calls are running — will disabling access to the UI at the same time.

  • Rohit5

    using transition is real pain in this version.

  • Felix Maina

    My application errors out when I do a window.location.reload in 1.2.0.