From e6f4a6984fd90e37ed87a7c5854935121e59762c Mon Sep 17 00:00:00 2001 From: Vladimir Siljkovic Date: Mon, 10 Dec 2018 01:13:34 +0100 Subject: [PATCH] Fix: Make scrolling inside of popup smoother in iOS This was reproducible only if the height of the popup exceeded the window height. --- jquery.popupoverlay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jquery.popupoverlay.js b/jquery.popupoverlay.js index 8161a45..723d996 100644 --- a/jquery.popupoverlay.js +++ b/jquery.popupoverlay.js @@ -119,6 +119,7 @@ if (options.type == 'overlay' && !options.absolute) { $wrapper.css('overflow','auto'); + $wrapper[0].style.WebkitOverflowScrolling = 'touch'; // for smooth scrolling in overflow:auto divs in iOS } $el.css({