I am looking to implement a floating button in the top right corner of my main screen. When clicked, I want it to open a card below with an arrow pointing towards the button similar to the one on . I am currently using Angular Material and have tried using a fab-speed-dial button with a card for the fab-actions. However, the issue I am facing is that when the card appears, the position of the profile button shifts to the middle of the card.
<md-fab-speed-dial md-open="isProfileOpen"
md-direction="down"
ng-class="md-fling">
<md-fab-trigger>
<md-button class="md-fab md-primary md-hue-2"
aria-label="Profile">
<md-icon md-svg-src="assets/img/profile.svg"></md-icon>
</md-button>
</md-fab-trigger>
<md-fab-actions>
<md-card ng-show="isProfileOpen" md-theme="{{ showDarkTheme ? 'dark-purple' : 'default' }}" md-theme-watch>
<md-card-title>
<md-card-title-text>
<span class="md-headline">Card with image</span>
<span class="md-subhead">Medium</span>
</md-card-title-text>
<md-card-title-media>
<div class="md-media-md card-media"></div>
</md-card-title-media>
</md-card-title>
<md-card-actions layout="row" layout-align="end center">
<md-button><a href="#!/login">Logout</a></md-button>
</md-card-actions>
</md-card>
</md-fab-actions>
</md-fab-speed-dial>
Is there a way to achieve this functionality using Angular Material? Are there any alternative options that I can explore?