Skip to content

Commit

Permalink
Merge pull request #642 from GetStream/channel-list-fix
Browse files Browse the repository at this point in the history
fix: channel list mispositioned bottom content placeholder
  • Loading branch information
szuperaz authored Sep 18, 2024
2 parents ec09739 + d53913c commit e4940cb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"@ctrl/ngx-emoji-mart": "^8.2.0",
"@floating-ui/dom": "^1.6.3",
"@ngx-translate/core": "^14.0.0",
"@stream-io/stream-chat-css": "4.19.0",
"@stream-io/stream-chat-css": "5.0.1",
"@stream-io/transliterate": "^1.5.2",
"angular-mentions": "1.4.0",
"dayjs": "^1.11.10",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div
#container
data-testid="channel-list-container"
class="str-chat str-chat__channel-list str-chat-channel-list messaging str-chat__theme-{{
class="str-chat str-chat-angular__channel-list str-chat__channel-list str-chat-channel-list messaging str-chat__theme-{{
theme$ | async
}}"
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import {
Component,
ElementRef,
OnDestroy,
TemplateRef,
ViewChild,
} from '@angular/core';
import { Component, OnDestroy, TemplateRef } from '@angular/core';
import { Observable, Subscription } from 'rxjs';
import { map } from 'rxjs/operators';
import { Channel } from 'stream-chat';
Expand All @@ -30,7 +24,6 @@ export class ChannelListComponent implements OnDestroy {
customChannelPreviewTemplate: TemplateRef<ChannelPreviewContext> | undefined;
theme$: Observable<string>;
subscriptions: Subscription[] = [];
@ViewChild('container') private container!: ElementRef<HTMLElement>;

constructor(
private channelService: ChannelService,
Expand Down

0 comments on commit e4940cb

Please sign in to comment.