1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Remove -webkit-overflow-scrolling: touch due to an iOS Safari bug (#20803)

See https://bugs.webkit.org/show_bug.cgi?id=158342
Fixes #17695
This commit is contained in:
Chris Rebert 2016-10-03 21:36:46 -07:00 committed by Mark Otto
parent 2e69dfa8c1
commit 1ca6c9d7f1

View 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 {