appear icon indicating copy to clipboard operation
appear copied to clipboard

Hidden elements trigger appear

Open iatanasov-frt opened this issue 7 years ago • 1 comments

I have a hidden element (display:none) that's way below the fold. Although the element is not in the view-port appear is triggered on page load.

Calling getBoundingClientRect(): image

I think, that appear should not be fired for hidden elements.

iatanasov-frt avatar Jan 03 '19 15:01 iatanasov-frt

https://github.com/creativelive/appear/pull/26

iatanasov-frt avatar Jan 03 '19 15:01 iatanasov-frt