0

I'm working on an Angular project and was wondering if someone knows if it is possible to make a mde-popover spawn next to the hovering element instead of above or below it.

So far I haven't been able to change the spawn position this is what it looks like now.

In my code it looks like this:

               <mat-card class="skill-card" [mdePopoverTriggerFor]="appPopover" mdePopoverTriggerOn="click"
                            #popoverTrigger="mdePopoverTrigger">
                                <mat-card-content>Scrum</mat-card-content>
                            </mat-card>

                    <mde-popover #appPopover="mdePopover" [mdePopoverOverlapTrigger]="false">
                        <mat-card>
                            <mat-card-content>Dummy Tag</mat-card-content>
                            <mat-card-content>Dummy catagory</mat-card-content>
                        </mat-card>
                    </mde-popover>
imkeVr
  • 442
  • 1
  • 7
  • 30
  • It's currently not possible with the current release but I'm currently working on this feature. It should be available in the next release – J J B Jul 05 '20 at 19:26
  • [LirysJH](https://stackoverflow.com/users/13707582) posted an [Answer](https://stackoverflow.com/a/66693115) saying "I was looking for the same solution and found this. Maybe it helps you https://stackblitz.com/edit/mde-popover-dynamic-target-position" – Scratte Mar 19 '21 at 10:42

0 Answers0