From 191336522c220b0a3cfe41515ed23946b3462217 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 17 Aug 2017 19:14:06 -0700 Subject: fix flicker on form elements on mouseover (fixes #56) --- ext/fg/js/document.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js index 17cca613..26c85b40 100644 --- a/ext/fg/js/document.js +++ b/ext/fg/js/document.js @@ -46,6 +46,7 @@ function docImposterCreate(element) { imposter.style.position = 'absolute'; imposter.style.top = `${offset.top}px`; imposter.style.left = `${offset.left}px`; + imposter.style.opacity = 0; imposter.style.zIndex = 2147483646; if (element.nodeName === 'TEXTAREA' && styleProps.overflow === 'visible') { imposter.style.overflow = 'auto'; -- cgit v1.2.3