Skip to content

Commit f464282

Browse files
bvr-odooxO-Tx
authored andcommitted
[FIX] web_editor: fix customize panel backdrop position
Before this commit, the customize panel backdrop did not fully cover the customize panel when the vertical scrollbar was scrolled to the bottom. Steps to reproduce the bug: - In website edit mode, add a table of content snippet to the page. - Add a three columns snippet within the table of content. - Click on an image in the three columns snippet. - Scroll the customize panel to the bottom and open the filter selector of the image. - Bug: the backdrop does not fully cover the customization panel. task-3090626 closes odoo#114515 X-original-commit: 672a8cb Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
1 parent 02ce8aa commit f464282

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

addons/web_editor/static/src/scss/wysiwyg_snippets.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1720,8 +1720,14 @@
17201720

17211721
&::after {
17221722
content: "";
1723-
@include o-position-absolute(0, 0, 0, 0);
1723+
// We use a "sticky" position because it ensures that the
1724+
// backdrop covers the entire "customize panel" element, even
1725+
// when it has a vertical scrollbar and is scrolled to the
1726+
// bottom.
1727+
@include o-position-sticky(auto, 0, 0, 0);
17241728
display: block;
1729+
height: 100vh;
1730+
margin-top: -100vh;
17251731
pointer-events: none;
17261732
background: $o-we-sidebar-content-backdrop-bg;
17271733
}

0 commit comments

Comments
 (0)