aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-10-03 21:36:46 -0700
committerMark Otto <[email protected]>2016-10-03 21:36:46 -0700
commit1ca6c9d7f1d15017c549dd1375ed98bf64404b33 (patch)
treebeaac216ac5272bfa4c46acea57533134336fa56
parent2e69dfa8c1679238579ef6f5ec85deb755e4fb6d (diff)
downloadbootstrap-1ca6c9d7f1d15017c549dd1375ed98bf64404b33.tar.xz
bootstrap-1ca6c9d7f1d15017c549dd1375ed98bf64404b33.zip
Remove `-webkit-overflow-scrolling: touch` due to an iOS Safari bug (#20803)
See https://bugs.webkit.org/show_bug.cgi?id=158342 Fixes #17695
-rw-r--r--scss/_modal.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss
index e4a04e45e..c326d5699 100644
--- a/scss/_modal.scss
+++ b/scss/_modal.scss
@@ -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 {