-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-fab-speed-dial: does not animate the first time #3349
Comments
I am having the same problem. Is there something else we are missing. |
I looked again and realized that I did not update my css file when I updated the script to 0.10. Once I added 0.10 of the css file as well then it worked for me. |
Good to hear! This did not fix it for me though, I'm still having the same issue. |
Hi guys, I will take a look and see if I can figure this out. I had experienced this a few times in the past, but I thought it was an issue with the automatic browser reload I was using because I could refresh the page and it went away. Perhaps it is a timing/initialization issue. |
the speed dial was not properly initializing it's transforms, so the first time it was opened, it would not animate properly. closes #3349
* fixes ability to use ng-hide: the animations were not properly calling the `done()` callback, so the `ng-animate` class was never being removed * you can now use ng-repeat for the speed dial's action items also updated docs to have fewer but more complex examples * the speed dial was not properly initializing it's transforms, so the first time it was opened, it would not animate properly closes #3313, closes #3224, closes #3349
Great, thanks! |
Hello, I'm having the same issue currently. (angular-material "version": "1.0.6") <link rel="stylesheet" href="lib/angular-material/angular-material.min.css">
<!--Version 1.4.3-->
<script src="lib/angular-animate/angular-animate.min.js"></script>
<script src="lib/angular-aria/angular-aria.min.js"></script>
<script src="lib/angular-messages/angular-messages.min.js"></script>
<!--Version 1.0.6-->
<script src="lib/angular-material/angular-material.min.js"></script> <md-fab-speed-dial md-open="fab.isOpen" md-direction="up"
class="md-fab-bottom-right md-scale" >
<md-fab-trigger>
<md-button aria-label="menu" class="md-fab md-warn">
<md-icon md-font-icon="fa-users" class="fa fab-button"></md-icon>
</md-button>
</md-fab-trigger>
<md-fab-actions>
<md-button ng-click="action()" class="md-raised light-bg">
TEST1
</md-button>
<md-button ng-click="action()"
class="md-raised">
TEST2
</md-button>
<md-button ng-click="action()"
class="md-raised">
TEST3
</md-button>
<md-button ng-click="action()"
class="md-raised">
TEST4
</md-button>
</md-fab-actions>
</md-fab-speed-dial> |
In angular-material v0.10.0, the
md-fab-speed-dial
component does not animate the first time it is hovered or touched. The embedded example on https://material.angularjs.org/latest/#/demo/material.components.fabSpeedDial works properly, but the supplied CodePen has the same issue. This occurs in Chrome 43 and Internet Explorer 11. I have not tested other browsers.When the action buttons are hidden, the
.md-fab-action-item
does not have itstransform
property set before it is activated. After it has been activated, it has. The embedded example has itstransform
property set before it is even opened for the first time, so that might be what's going wrong.The text was updated successfully, but these errors were encountered: