Jump to content

Top menu submenu problem, from 768px to 784px, little bug in 1.6.1.1 perhaps?


Recommended Posts

When you adjust the width of your (Chrome) browser to 768 pixels the layout just comes out of the mobile layout. However, the submenu of the topmenu doesn't come down from 768 to 784 pixels. From 785 pixels upwards the submenu falls down as it should. You can watch it in the demo: http://demo.prestashop.com/nl/?view=front. Searched all the files for 784 and 785px, but can't find the cause, maybe in some calculation somewhere?

Link to comment
Share on other sites

It looks like a bug of chrome.

The responsiveness of menu is in themes/default-bootstrap/js/modules/blocktopmenu/blocktopmenu.js in function responsiveMenu().

$(document).width() returns with 15 pixels less than what chrome displays as viewport width. In this case the css treats the page as 768px but the javascript as 753px.

Link to comment
Share on other sites

×
×
  • Create New...