From a0b83dac862a2d0037f454b42a44b491489455fb Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 17 Feb 2023 13:39:51 +0100 Subject: [PATCH] UX: prevents scroll in chat to propagate to parents (#20347) Prior to this fix, scrolling in the drawer for example, would also scroll the full page when reaching bottom of available messages. --- plugins/chat/assets/stylesheets/common/common.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/chat/assets/stylesheets/common/common.scss b/plugins/chat/assets/stylesheets/common/common.scss index f950352abe3..ba3529b856b 100644 --- a/plugins/chat/assets/stylesheets/common/common.scss +++ b/plugins/chat/assets/stylesheets/common/common.scss @@ -277,6 +277,7 @@ $float-height: 530px; .chat-messages-scroll { flex-grow: 1; overflow-y: scroll; + overscroll-behavior: contain; scrollbar-color: var(--primary-low) transparent; transition: scrollbar-color 0.2s ease-in-out; display: flex;