From: Joah Gerstenberg Date: Mon, 2 Dec 2013 20:56:23 +0000 (-0600) Subject: Fixes #11669 - Adds smooth modal scrolling on iOS by default X-Git-Tag: v3.1.0~148^2~6^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11676%2Fhead;p=thirdparty%2Fbootstrap.git Fixes #11669 - Adds smooth modal scrolling on iOS by default --- diff --git a/less/modals.less b/less/modals.less index e65dbf7f17..bfb80c2821 100644 --- a/less/modals.less +++ b/less/modals.less @@ -23,7 +23,8 @@ bottom: 0; left: 0; z-index: @zindex-modal-background; - + -webkit-overflow-scrolling: touch; + // When fading in the modal, animate it to slide down &.fade .modal-dialog { .translate(0, -25%);