-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(fabSpeedDial): fix many visual issues #3468
Conversation
|
||
angular.module('fabSpeedDialModalDemo', ['ngMaterial']) | ||
.controller('AppCtrl', function($scope, $mdDialog) { | ||
$scope.demo = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to use controllerAs
syntax.
It would be better to avoid You might be able to avoid |
9335f61
to
d09952f
Compare
@gkalpak Done and done :-) Please let me know if you see anything else that needs changing! |
$scope.demo = { | ||
topDirections: ['left', 'up'], | ||
bottomDirections: ['down', 'right'], | ||
.controller('DemoCtrl', function($scope) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to inject $scope
any more.
@topherfangio, careful what you ask for :) |
* maintain state when focusing/bluring/tabbing through actions speed dial would previously show a very short and erroneous animation when tabbing, or rapidly blurring/focusing, through child items * add demo showing tooltip usage * fix $digest in-progress error when opening a dialog cebor reported a $digest in progress bug when trying to open a dialog from within the speed dial; haven't figured out how to create a test that demonstrates it, but I added a demo which shows failure * animations fail on Safari update webkitTransform styles and set height to initial instead of 100% * make changes suggested by gkalpak * more fixes suggested by gkalpak closes #3213, closes #3338, closes #3277, closes #3236, closes #3375
d09952f
to
78fcf18
Compare
@topherfangio - nice work here. I also combined the Demos #2 & #3 while merging your PR. |
@ThomasBurleson Thanks so much! I was wondering myself if we should combine the demos, so I'm glad you did :-) |
maintain state when focusing/bluring/tabbing through actions
speed dial would previously show a very short and erroneous animation
when tabbing, or rapidly blurring/focusing, through child items
add demo showing tooltip usage
fix $digest in-progress error when opening a dialog
cebor reported a $digest in progress bug when trying to open a dialog
from within the speed dial; haven't figured out how to create a test
that demonstrates it, but I added a demo which shows failure
animations fail on Safari
update webkitTransform styles and set height to initial instead of 100%
closes #3213, closes #3338, closes #3277, closes #3236, closes #3375