Problem to Android browser < Android 4.3 to menù mobile

Posted in: Newsmag
Post count: 19

Hi,

i have found a big bug to Android Browser if have a Android ver < 4.3!

The bug also occurs using your online demo.

The page loads properly, but as soon as it finishes loading the site, it is completely covered by the background or mobile menu area, but without mobile menu content, and without close icon!

You have no idea how to fix it? I have thousands of customers who complain about it and they do not use “modern” browser on your mobile device (like Chrome or Firefox)! Obviously they can not use the site and leave!

Thanks a lot

Post count: 23312

Hello Mela Rossa,

Unfortunately, please keep in mind that the Android ver < 4.3 is quite old and we cannot make any tests in this regard because we do not have any devices with this version of Android, sorry! Here -> http://screencast.com/t/DMQSNWzVcNt you can see all details regarding on our Theme.

Hope this helps!

Thanks for the message!

Post count: 19

Hi,

ok no problem! i have resolved to this simple PHP function that redirect in a service page this old browser:

$ua_check = $_SERVER[‘HTTP_USER_AGENT’];

//results array
$matches_check = [];

//perform regex query
preg_match(‘/Android.*AppleWebKit\/([\d.]+)/’, $ua_check, $matches_check);

//Check if the regex query returned matches specific to
//the android stock browser.
if( isset($matches_check[0]) &&

//This is where we diffrentiate the stock browser from chrome,
//the default browser’s webkit version never goes above 537
( isset($matches_check[1]) && intval($matches_check[1] < 537) ) ){

header(‘location: /old-browser-mobile.html’);
exit;
}

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.