fix flicker on form elements on mouseover (fixes #56)
This commit is contained in:
parent
6367894df0
commit
191336522c
@ -46,6 +46,7 @@ function docImposterCreate(element) {
|
|||||||
imposter.style.position = 'absolute';
|
imposter.style.position = 'absolute';
|
||||||
imposter.style.top = `${offset.top}px`;
|
imposter.style.top = `${offset.top}px`;
|
||||||
imposter.style.left = `${offset.left}px`;
|
imposter.style.left = `${offset.left}px`;
|
||||||
|
imposter.style.opacity = 0;
|
||||||
imposter.style.zIndex = 2147483646;
|
imposter.style.zIndex = 2147483646;
|
||||||
if (element.nodeName === 'TEXTAREA' && styleProps.overflow === 'visible') {
|
if (element.nodeName === 'TEXTAREA' && styleProps.overflow === 'visible') {
|
||||||
imposter.style.overflow = 'auto';
|
imposter.style.overflow = 'auto';
|
||||||
|
Loading…
Reference in New Issue
Block a user