Skip to Content

Contributors

Re: odoo14 website mega-menu unexpected mobile behaviour?

Just found the reason: it was a mega-menu optionĀ "hamburger type" that I've changed from "default" to "off-canvas" few weeks ago. It was causing the different behaviour.

--
Francesco Ballerini

by Francesco Ballerini - 04:41 - 10 Jun 2024

Reference

  • odoo14 website mega-menu unexpected mobile behaviour?
    Hello,

    In odoo14 website if we add a mega-menu to the navbar then switch to mobile simulation, we get a non-expanded drop-down menu by default (see attachment megamenu1.png), I've made this screenshot made from OCA runboat.

    I'm having some sort of bug from mobile simulation in my current database: my custom mega-menu is loaded as already expanded when the website navbar is loaded.

    A few weeks ago, in a previous version of the database, that mega menu drop-down was properly loaded as non-expanded.

    I've noticed that this behaviour also applies if I create an entirely new mega-menu, so it's not strictly related to the specific item.

    I have tried to regenerate asset bundles and use the "-u all" command in order to resync database, however this pretty standard procedure didn't help for this situation.

    Do you have any hint to solve this problem?

    Thank you

    --
    Francesco Ballerini

    by Francesco Ballerini - 04:05 - 10 Jun 2024