material icon indicating copy to clipboard operation
material copied to clipboard

md-fab-speed-dial: dynamic md-fab-actions

Open ptrenery opened this issue 11 years ago • 3 comments

Hiding or removing one of the actions dynamically causes animation issues when in md-fling mode. md-scale seems fine.

Use the FAB Speed Dial demo code from the material site. Add ng-if="false" or ng-show="false" to the first 'twitter' button then expand and contract the fab buttons.

ptrenery avatar Aug 21 '15 19:08 ptrenery

Confirmed. Thanks for finding. We'll try to get this fixed in 0.12.

topherfangio avatar Aug 21 '15 20:08 topherfangio

Why is this set to deprecated silently? With version 1.07 it still have problems. When a item is added dynamically to the md-fab-actions, then it looks wrong until the menu is opend the first time.

looks wrong means (at a speed dial which opens to the left):

  • if a action is added, the new state is shown at the left of the trigger, although the dialoge is closed
  • if a action is removed, the old states are shown above each other right of the trigger, although the dialoge is closed

That is why I am disappointed that it now looks like if nothing would be changed

edit: I use md-fling. With md-scale it is ok.

Ulrikop avatar Apr 28 '16 06:04 Ulrikop

This issue is closed as part of our deprecation effort. For details, see our post Spring Cleaning 2016.

ThomasBurleson avatar Apr 28 '16 20:04 ThomasBurleson