Skip to content
Snippets Groups Projects
Commit 21650ce3 authored by qsm-odoo's avatar qsm-odoo
Browse files

[FIX] website: restore scroll effects in custom code


The website scroll effects using the `AnimationEffect` Odoo API were not
working anymore if custom code enforces the html element as the
scrolling element. Indeed in that case the scroll event handlers were
now attached to the html element itself while it needs to be the window
in that case.

This may be something to fix at the source (the `getScrollingElement`
method). This will be checked later.

closes odoo/odoo#69083

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent ba50228f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment