Skip to content

Commit f481505

Browse files
authored
Merge pull request #608 from GetStream/v5-message-menu-position
feat: fix message menu positions
2 parents 05d8427 + e173deb commit f481505

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

projects/stream-chat-angular/src/lib/message/message.component.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
[hideOnScroll]="false"
5050
[hideOnClickOutside]="true"
5151
[hideOnMouseLeave]="false"
52-
[disableAnimation]="true"
52+
[disableAnimation]="false"
53+
[preventOverflow]="true"
54+
[positionFixed]="true"
5355
(onHidden)="isActionBoxOpen = false"
5456
>
5557
<float-ui-content #floatingContent>
@@ -540,6 +542,9 @@
540542
[floatUiLoose]="floatingContent"
541543
loosePlacement="top"
542544
looseTrigger="hover"
545+
[disableAnimation]="false"
546+
[preventOverflow]="true"
547+
[positionFixed]="true"
543548
>
544549
<float-ui-content #floatingContent>
545550
<div class="str-chat__tooltip str-chat__tooltip-angular">
@@ -572,6 +577,9 @@
572577
[floatUiLoose]="floatingContent"
573578
loosePlacement="top"
574579
looseTrigger="hover"
580+
[disableAnimation]="false"
581+
[preventOverflow]="true"
582+
[positionFixed]="true"
575583
>
576584
<float-ui-content #floatingContent>
577585
<div

0 commit comments

Comments
 (0)