summaryrefslogtreecommitdiff
path: root/addons/product
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-10-23 10:24:49 +0000
committerqsm-odoo <qsm@odoo.com>2020-10-23 15:07:07 +0000
commit8a949019fd39c6c07ae5827462ee96e15f3190a1 (patch)
tree1bcde180a4bed48975b4effeeb9377d8eead8d33 /addons/product
parentf486e61c36cb39b7b79faf018f5b8ac0448e284c (diff)
[FIX] web_editor: do not show overlay for invisible elements
When a snippet is out of the viewport or hidden, the overlay should not be visible. Two distinct cases we had: - When the page is scrolled, the header is sometimes hidden thanks to tranform: translate(0, -100%); for some kind of effect -> the header is thus still visible but out of the viewport, any selected snippet inside that header would still have this overlay enabled so we would see the move and delete button on the top of the screen. - When the page is scrolled, with the vertical header, some part of the header are hidden for the affixed version. If any snippet in those hidden elements was selected, the overlay is still visible floating. task-2312878 closes odoo/odoo#58383 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by: Benjamin Vray <bvr@odoo.com> Co-authored-by: Thanh Dodeur <tso@odoo.com>
Diffstat (limited to 'addons/product')
0 files changed, 0 insertions, 0 deletions