From 171d9cffc76c0e28d908084dc52ccac9fad30fc0 Mon Sep 17 00:00:00 2001 From: Pierre Paridans Date: Thu, 28 Jul 2022 08:19:58 +0000 Subject: [PATCH] [FIX] web: weird modal effect on backdrop click MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since BS5 migration, clicking on the backdrop of a "static" modal triggers a weird scaling-up/down effect on the modal. Steps to reproduce: - Open Livechat Channels - Open a channel - Click on operator which opens a modal - click on backdrop => scale-up/down effect This commit fixes it by disabling the scaling transform effect on modals. closes odoo/odoo#96958 Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/legacy/scss/bootstrap_overridden.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/static/src/legacy/scss/bootstrap_overridden.scss b/addons/web/static/src/legacy/scss/bootstrap_overridden.scss index b9908c8715c..21d6759d984 100644 --- a/addons/web/static/src/legacy/scss/bootstrap_overridden.scss +++ b/addons/web/static/src/legacy/scss/bootstrap_overridden.scss @@ -221,6 +221,8 @@ $modal-md: $o-modal-md !default; $modal-content-border-radius: $border-radius !default; +$modal-scale-transform: none !default; + // Breadcrumbs $breadcrumb-padding-y: 0 !default;