-
Notifications
You must be signed in to change notification settings - Fork 3.4k
speedial(actions): scale animation shown on load #6344
Comments
Actually, based on the Codepen you provided, it looks like the However, it looks like the following bit of CSS should do the trick. We'll see if we can get this added in 1.0.1 to correct the issue. .md-scale:not(.md-is-open) .md-fab-action-item {
opacity: 0;
} |
Just so it's noted here that css fixes it with |
@topherfangio you also do not need to use Maybe some different css could fix it for |
@epelc Indeed. And for reference, the same hack specifically does not fix it with |
I tried the css workaround it fixes the issue of showing small icons but if I hover over I can still see the tooltip on the icons. Also the cursor changes to a pointer as if you can click on a button. If needed I can provide a plunkr for reproducing the issue. |
@chughk1 Try the following temporary fix: .md-scale:not(.md-is-open) .md-fab-action-item {
opacity: 0;
transform: scale(0);
} I'm hoping to add this soon to the standard CSS, but I need to test it a bit more first. |
@topherfangio That didn't fix the issue. |
…sed. When using the `scale` animation, the FAB Speed Dial's action items could sometimes appear as small dots on the screen even when the component was closed. This was due to an old bug where closing a dialog from a hidden action item was throwing an issue. This has since been fixed so we can revert this back to the original code that used `scale(0)` instead of `scale(0.1)` which ensured that the dialog always had a button to animate to when closing. Also fix an issue with the `ng-hide` animation in the "More Options" demo. Fixes angular#6344. Fixes angular#6670.
@topherfangio I just tested after removing your other css fix from above and it works :) Also just to clarify this is for the |
@epelc Thanks for testing! Indeed, it is |
@topherfangio Sorry. Didn't see your message earlier. I will also try the fix and see if it works for me. |
Hi guys, this worked for me...
Put the |
The
md-scale
animation is broken on load in 1.0.0It starts open but all the icons are tiny. It should be closed instead.

Here is a demo on codepen.
Note to get it to show on codepen I had to remove the bindings for
md-direction
and statically set the class tomd-scale
. The bug is also slightly different on codepen then in a real app. It will show the close animation when you refresh the page(clicking save/editing doesn't show it). I'd recommend running it locally outside of codepen if you can.Tested in chrome
47.0.2526.80 m (64-bit)
and47.0.2526.106 m (64-bit)
on windows 7 64 bit@topherfangio can you look at this?
The text was updated successfully, but these errors were encountered: