Skip to content

Commit 30bd6a3

Browse files
committed
Add compatibilty with message list scrolling
1 parent f0065a8 commit 30bd6a3

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

src/styles/MessageList.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
.str-chat__list {
2-
flex: 1;
1+
%scrollable {
32
overflow-x: hidden;
43
overflow-y: auto;
4+
}
5+
6+
.str-chat-angular__message-list-host {
7+
@extend %scrollable;
8+
}
9+
10+
.str-chat__list {
11+
@extend %scrollable;
12+
flex: 1;
513
-webkit-overflow-scrolling: touch; /* enable smooth scrolling on ios */
614
padding: 0;
715

src/styles/_base.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ $emoji-flag-unicode-range: U+1F1E6-1F1FF;
125125
height: 100%;
126126
display: flex;
127127

128-
.str-chat__main-panel {
128+
.str-chat__main-panel,
129+
.str-chat-angular__main-panel-inner {
129130
height: 100%;
130131
width: 100%;
131132
min-width: 250px;

0 commit comments

Comments
 (0)