Skip to content

Commit

Permalink
fix(angular): channel list infinite scroll (#312)
Browse files Browse the repository at this point in the history
### 🎯 Goal

_Describe why we are making this change_

### πŸ›  Implementation details

_Provide a description of the implementation_

### 🎨 UI Changes

_Add relevant screenshots_

Make sure to test with both Angular and React (with both `MessageList`
and `VirtualizedMessageList` components) SDKs
  • Loading branch information
szuperaz authored Sep 18, 2024
1 parent 806b166 commit d2cddb2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/v2/styles/ChannelList/ChannelList-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,14 @@
}
}
}

.str-chat-angular__channel-list {
.str-chat__channel-list-messenger__main {
display: flex;
flex-direction: column;

stream-paginated-list {
min-height: 0;
}
}
}
4 changes: 4 additions & 0 deletions src/v2/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ stream-icon-placeholder {
.str-chat__loading-indicator {
margin: auto;
}

.str-chat__load-more-button__button {
margin-inline: auto;
}
}

stream-paginated-list {
Expand Down

0 comments on commit d2cddb2

Please sign in to comment.