aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-17 19:14:06 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-17 19:14:06 -0700
commit191336522c220b0a3cfe41515ed23946b3462217 (patch)
tree665417b73c928694b96c00a98dd882c618e1fd1d /ext/fg
parent6367894df0ea54cd6079abd93e9e1f261482185a (diff)
fix flicker on form elements on mouseover (fixes #56)
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/document.js1
1 files changed, 1 insertions, 0 deletions
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';