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

Commit

Permalink
fix(tabs): will no longer jump to top when changing tabs with
Browse files Browse the repository at this point in the history
`md-dynamic-height`

Closes #4281
  • Loading branch information
Robert Messerle committed Oct 29, 2015
1 parent d3d5f3f commit 4205be7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/tabs/js/tabsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,6 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp
if ($element.attr('md-border-bottom') !== undefined) ++currentHeight;
}

if (currentHeight === newHeight) return;

// Lock during animation so the user can't change tabs
locked = true;

Expand Down

0 comments on commit 4205be7

Please sign in to comment.