From 5f51571c5d0a3d3fc858a618364cee785e94e4ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Wei=C3=9F?= Date: Fri, 6 Jun 2014 10:27:22 +0200 Subject: [PATCH] Fix scrolling on touch devices --- CHANGELOG.md | 1 + _modal-core.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4f26da..30b614b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## HEAD +* Fix scrolling on touch devices ## 1.1.4 - 05.06.2014 * Fix max-width plugin to work on all sizes and listen to resize diff --git a/_modal-core.scss b/_modal-core.scss index 6151737..70b6e28 100644 --- a/_modal-core.scss +++ b/_modal-core.scss @@ -117,6 +117,7 @@ html { max-height: 80vh; overflow-x: hidden; overflow-y: auto; + -webkit-overflow-scrolling: touch; // This removes the scrollbar in lt IE9 @media \0screen\,screen\9 {