diff --git a/src/collapse/collapse.js b/src/collapse/collapse.js index 6c512afbe3..eedb211d73 100644 --- a/src/collapse/collapse.js +++ b/src/collapse/collapse.js @@ -59,10 +59,16 @@ angular.module('ui.bootstrap.collapse', []) $animateCss(element, { addClass: 'in', easing: 'ease', + css: { + overflow: 'hidden' + }, to: getScrollFromElement(element[0]) }).start()['finally'](expandDone); } else { $animate.addClass(element, 'in', { + css: { + overflow: 'hidden' + }, to: getScrollFromElement(element[0]) }).then(expandDone); }