jquery/jquery-mobile — Issue #3465: Non-fixed supporting browsers : activeBtn undefined
Author: AbhinandanPanda
Created: 2012-01-19 20:46:46+00:00
State: open

***** Android 3: Motorola Xoom*************

This issue is reproducible in Motorola Xoom consistently, it fails in the mobile init and the whole screen becomes white. The source of the issue is mentioned below:

// For non-fixed supportin browsers. Position at y center (if scrollTop supported), above the activeBtn (if defined), or just 100px from top

function fakeFixLoader(){
$loader
.css({
top: $.support.scrollTop && $window.scrollTop() + $window.height() / 2 ||
activeBtn.length && activeBtn.offset().top || 100
});
}

Here the activeBtn is undefined. Putting a check for activeBtn fixes the issue. This might be a code bug.

Let me know if you guys require anymore information. Ready to help.

Thanks
Abhi