fix flicker on form elements on mouseover (fixes #56)

This commit is contained in:
Alex Yatskov 2017-08-17 19:14:06 -07:00
parent 6367894df0
commit 191336522c

View File

@ -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';