From 643a76a95497184baae1d294ff1555d7155e7adc Mon Sep 17 00:00:00 2001 From: dc2926 Date: Fri, 25 Jul 2014 17:11:33 +0800 Subject: [PATCH] scroll bar will be shown on new google chrome add .css("position", "relative") to line 1290 to fix this problem. --- lib/jquery.mobile.iscrollview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jquery.mobile.iscrollview.js b/lib/jquery.mobile.iscrollview.js index a9129fb..f5b1669 100644 --- a/lib/jquery.mobile.iscrollview.js +++ b/lib/jquery.mobile.iscrollview.js @@ -1287,7 +1287,7 @@ function jqmIscrollviewRemoveLayerXYProps(e) { (IsMobileSafari && !IsIPad ? 60 : 0) + // Add 60px for space recovered from Mobile Safari address bar this.options.wrapperAdd; // User-supplied fudge-factor if needed - this.$wrapper.css("height", newWrapperHeight); + this.$wrapper.css("height", newWrapperHeight).css("position", "relative"); this._expandScrollerToFillWrapper(); if (this.options.traceResizeWrapper) {