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.
This commit is contained in:
parent
e381a55533
commit
a0b83dac86
|
@ -277,6 +277,7 @@ $float-height: 530px;
|
||||||
.chat-messages-scroll {
|
.chat-messages-scroll {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
overscroll-behavior: contain;
|
||||||
scrollbar-color: var(--primary-low) transparent;
|
scrollbar-color: var(--primary-low) transparent;
|
||||||
transition: scrollbar-color 0.2s ease-in-out;
|
transition: scrollbar-color 0.2s ease-in-out;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in New Issue