From b68624a603216abb7797b91f232148fec10d22ff Mon Sep 17 00:00:00 2001 From: Thomas Brouard Date: Fri, 28 Feb 2020 10:08:52 +0100 Subject: [PATCH] Preserve scroll Y pos when tab hidden (fix #100) --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f2c6bd5..2bb40a8 100644 --- a/index.js +++ b/index.js @@ -10,10 +10,10 @@ if (!document) { webview { position: absolute; visibility: hidden; - } - webview.visible { width: 100%; height: 100%; + } + webview.visible { visibility: visible; } `;