]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #11669 - Adds smooth modal scrolling on iOS by default 11676/head
authorJoah Gerstenberg <joahd@gbergfamily.com>
Mon, 2 Dec 2013 20:56:23 +0000 (14:56 -0600)
committerJoah Gerstenberg <joahd@gbergfamily.com>
Mon, 2 Dec 2013 20:56:23 +0000 (14:56 -0600)
less/modals.less

index e65dbf7f17bd18cb0978c7e1e7fe20f353b117a7..bfb80c282125884b90f006394849355c6494c994 100644 (file)
@@ -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%);