Always appear Mobile Menu on desktop & Chrome 41

Always appear Mobile Menu on desktop & Chrome 41 was created by quantility

Posted 9 years 1 month ago #25861
In these day google has released Chrome 41.

With latest version of MaximenuCK, Mobile and Parameters plugin i have a problem.

I have set up the MaximenuCK and Mobile Plugin to change menu to mobile version when the user agent is a tablet or a phone (same if only phone).

With this Chrome version (41) Maximenu don't detect correctly the user agent, so i have the mobile menu on desktop browser :blink:

For solve the problem i set the maximenu plugin to detect resolution.

Can you check the logic behind user agent detecting? Thanks!


EDIT 1 : i have found the problem.
In MaximenuCK you use Mobile Detect ( github.com/serbanghita/Mobile-Detect ) version 2.6.3.
Has a known bug resolved in newer versions: github.com/serbanghita/Mobile-Detect/issues/358

You are using a Mobile Detect version two years old (2.6.3), now latest versions are here github.com/serbanghita/Mobile-Detect/releases

I hope you can release a bugfix in next Maximenu Mobile 1.2.1 because this bug is more serious than I thought.

Using a so old Mobile Detect version, lot of new mobile devices are not correctly detected.

Thanks!

EDIT 2: i have copy latest Mobile_Detect.php 2.8.11 from GitHub and all is OK :woohoo:
Last Edit:9 years 1 month ago by quantility
Last edit: 9 years 1 month ago by quantility.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Always appear Mobile Menu on desktop & Chrome 41

Posted 9 years 1 month ago #25862
Hi
you are not the first to report this issue, and thank you for giving me the key to solve it !
I will check this asap
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by quantility on topic Always appear Mobile Menu on desktop & Chrome 41

Posted 9 years 1 month ago #25863
Thank you Ced!

I have many sites set with user agent detect, tonight i go to copy new mobile-detect.php in most important sites, but i hope i can update MMCK from the site and not via FTP.

Thanks a lot!
Last Edit:9 years 1 month ago by quantility
Last edit: 9 years 1 month ago by quantility.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Always appear Mobile Menu on desktop & Chrome 41

Posted 9 years 1 month ago #25864
please contact me by email so that I can give you the new version to test :)

(are you under joomla 3 or 2.5 ?)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Always appear Mobile Menu on desktop & Chrome 41

Posted 9 years 1 month ago #25879
I have released the 1.1.19 (J2.5) and 1.2.1 (J3) versions to fix it :)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.708 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 719 guests and 2 members online