diff --git a/src/components/tabs/js/tabsController.js b/src/components/tabs/js/tabsController.js index 2b6937a9ffd..122a16bdaf2 100644 --- a/src/components/tabs/js/tabsController.js +++ b/src/components/tabs/js/tabsController.js @@ -486,7 +486,7 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp */ function shouldPaginate () { if (ctrl.noPagination || !loaded) return false; - var canvasWidth = $element.prop('clientWidth'); + var canvasWidth = Math.min($element.prop('clientWidth'), ctrl.maxTabWidth); angular.forEach(elements.dummies, function (tab) { canvasWidth -= tab.offsetWidth; }); return canvasWidth < 0; }