Skip to content

Commit 526ad97

Browse files
Ben RubinBen Rubin
authored andcommitted
remove opacity form element after animation so it does not hide nested branches on filter
1 parent e02d56a commit 526ad97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/js/service.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function treeService($mdUtil, $animateCss) {
3434
.start()
3535
.then(function () {
3636
container.css('max-height', 'none');
37+
container.css('opacity', '');
3738
container.removeClass('md-overflow md-show');
3839
element.removeClass('md-no-animation');
3940
});
@@ -59,6 +60,7 @@ function treeService($mdUtil, $animateCss) {
5960
})
6061
.start()
6162
.then(function () {
63+
container.css('opacity', '');
6264
container.removeClass('md-overflow md-hide');
6365
element.removeClass('md-no-animation');
6466
$mdUtil.disconnectScope(scope);

0 commit comments

Comments
 (0)