Skip to Content

Contributors

Re: odoo14 website mega-menu unexpected mobile behaviour?

Thanks for your feedback Virginie,
It happens quite often that I post a message and find a solution a few moments later, but I'm glad to know this could be helpful for other people : )

Best regards,
Francesco Ballerini

Il giorno lun 10 giu 2024 alle ore 17:37 Virginie Dewulf <virginie@odoo-community.org> ha scritto:
Hello,

Thanks for sharing your questions and even the answers :) 

(I am really not making fun of you, just to make it clear!).

I'm sure it might help others to solve this kind of errors in the future!

Have a nice day,
Virginie Dewulf
Executive Director
+32 477 64 17 20


Le lun. 10 juin 2024 à 16:42, Francesco Ballerini <notifications@odoo-community.org> a écrit :
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

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by Francesco Ballerini - 06:06 - 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