You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I used the demo page to make several toasters. The first toast pops into place correctly. Because new toasts go to the top by default, a second toast will be inserted before the first, causing the list to jump down. Likewise, if there are several toasts and the user dismisses one in the middle, the remaining ones jump up after the animation finishes.
I propose adding some additional animations to control the size of the toast as it is added and removed from the display. Here's an example for fade.
Let's say I used the demo page to make several toasters. The first toast pops into place correctly. Because new toasts go to the top by default, a second toast will be inserted before the first, causing the list to jump down. Likewise, if there are several toasts and the user dismisses one in the middle, the remaining ones jump up after the animation finishes.
I propose adding some additional animations to control the size of the toast as it is added and removed from the display. Here's an example for
fade
.You can see it in action here: http://next.plnkr.co/edit/YzMgT1id8AE5VhdT
If that's not really to your liking, the size could be adjusted first, then the opacity. I've done that with the
flyRight
state.Either of these ideas would be great to allow the toasts to smoothly animate instead of popping to their updated positions.
The text was updated successfully, but these errors were encountered: