Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 4205be7

Browse files
author
Robert Messerle
committed
fix(tabs): will no longer jump to top when changing tabs with
`md-dynamic-height` Closes #4281
1 parent d3d5f3f commit 4205be7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/tabs/js/tabsController.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,6 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp
652652
if ($element.attr('md-border-bottom') !== undefined) ++currentHeight;
653653
}
654654

655-
if (currentHeight === newHeight) return;
656-
657655
// Lock during animation so the user can't change tabs
658656
locked = true;
659657

0 commit comments

Comments
 (0)