Skip to content
Snippets Groups Projects
Commit e734df61 authored by Benjamin Vray's avatar Benjamin Vray Committed by qsm-odoo
Browse files

[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: default avatarSamuel Degueldre <sad@odoo.com>
parent 9cd8c15e
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