summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-11-19 10:39:38 +0000
committerqsm-odoo <qsm@odoo.com>2021-01-27 14:49:42 +0000
commite734df614a07d51cfd2c9eb6e3876189e1d22a69 (patch)
tree0e8861048956b8cf3f6bd12929c14c150825ff63 /addons/web/static/src/js
parent9cd8c15ed22e3033c654fcfa28f76b79083dcf98 (diff)
[FIX] web_editor: fix scroll event on snippet popup
Before this commit, when scrolling a snippet popup, the overlay was not updating its position. So now, we use addEventListener instead of jQuery for the scroll event on the scrolling element because we need the 'capture' parameter. Setting this capture parameter to true allows us to take advantage of event bubbling for events that otherwise don’t support it. Part of https://github.com/odoo/odoo/pull/61998 task-2312878 Co-authored-by: Samuel Degueldre <sad@odoo.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions