Files
design-themes/website_animate
Benjamin Vray f2f117e9b6 [FIX] website_animate: fix animation in mega menu
Backport of [1].

Before this commit, the animations were never launched in a mega menu.

Indeed the animations are launched when the element to be animated
appears in the viewport according to the scroll. But in the case of a
mega menu we just want the animation to start when the mega menu is
opened. For that we don't need all the code that checks the scroll, etc.
The animation starts by itself when the element inside the mega menu is
made visible in CSS.

This commit also removes the "Each time it becomes visible" option for
an element animated in a mega menu because in this case this option does
not make sense.

[1]: https://github.com/odoo/odoo/commit/bae04041a528e1a1fe97387ca5b75943c1d0fe97

opw-2764895

closes odoo/design-themes#561

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-08-04 17:43:00 +02:00
..
2021-05-10 15:45:35 +02:00
2021-05-10 15:45:35 +02:00
2021-05-10 15:45:35 +02:00