Open iatanasov-frt opened 5 years ago
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.
display:none
appear
Calling getBoundingClientRect():
I think, that appear should not be fired for hidden elements.
https://github.com/creativelive/appear/pull/26
I have a hidden element (
display:none
) that's way below the fold. Although the element is not in the view-portappear
is triggered on page load.Calling getBoundingClientRect():
I think, that appear should not be fired for hidden elements.