diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js index d02f6fda4f5f67b451cbe5ea9a238242e9ad14d7..be351cc68156004ef357e569f02547742584e356 100644 --- a/js/bootstrap-collapse.js +++ b/js/bootstrap-collapse.js @@ -66,6 +66,7 @@ } this.$element[dimension](0) + this.$element.css('overflow', 'hidden') this.transition('addClass', $.Event('show'), 'shown') this.$element[dimension](this.$element[0][scroll]) } @@ -84,6 +85,7 @@ this.$element .removeClass('collapse') + .css('overflow', '') [dimension](size || 'auto') [0].offsetWidth diff --git a/less/component-animations.less b/less/component-animations.less index da1f2e5350587c69947bb93f789fde390cfc1bc7..92a982a2241b91f6712c5cb712620f107b1cf3de 100644 --- a/less/component-animations.less +++ b/less/component-animations.less @@ -16,5 +16,6 @@ .transition(height .35s ease); &.in { height: auto; + overflow: visible; } } \ No newline at end of file