Skip to content

Commit

Permalink
fix: Quick fix for popper problem #453
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Aug 1, 2023
1 parent bf2853c commit 3cc079e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 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 @@ -117,7 +117,7 @@
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@popperjs/core": "^2.11.5",
"@stream-io/stream-chat-css": "3.10.1",
"@stream-io/stream-chat-css": "3.12.0",
"@stream-io/transliterate": "^1.5.2",
"angular-mentions": "^1.4.0",
"dayjs": "^1.10.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
class="str-chat str-chat-channel messaging str-chat__channel str-chat__theme-{{
theme$ | async
}}"
[class.google-chrome]="isChrome"
>
<div
class="str-chat__container"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export class ChannelComponent {
isActiveChannel$: Observable<boolean>;
subscriptions: Subscription[] = [];
theme$: Observable<string>;
isChrome =
!!(window as any).chrome && typeof (window as any).opr === 'undefined';

constructor(
private channelService: ChannelService,
Expand Down

0 comments on commit 3cc079e

Please sign in to comment.