]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove `-webkit-overflow-scrolling: touch` due to an iOS Safari bug (#20803)
authorChris Rebert <github@chrisrebert.com>
Tue, 4 Oct 2016 04:36:46 +0000 (21:36 -0700)
committerMark Otto <markd.otto@gmail.com>
Tue, 4 Oct 2016 04:36:46 +0000 (21:36 -0700)
See https://bugs.webkit.org/show_bug.cgi?id=158342
Fixes #17695

scss/_modal.scss

index e4a04e45eae1342d6938dd580125a928ede3ece6..c326d5699eb18f4767896eb6e1e04571badfc8e0 100644 (file)
@@ -22,7 +22,9 @@
   // Prevent Chrome on Windows from adding a focus outline. For details, see
   // https://github.com/twbs/bootstrap/pull/10951.
   outline: 0;
-  -webkit-overflow-scrolling: touch;
+  // We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
+  // gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
+  // See also https://github.com/twbs/bootstrap/issues/17695
 
   // When fading in the modal, animate it to slide down
   &.fade .modal-dialog {