Hi again, I've found that if my react app is on the page but display: none the visibility check thinks everything is visible. This seems to be because top, right, bottom, left all report as 0. A quick check in isComponentVisible should remove this false positives.
Hi again, I've found that if my react app is on the page but
display: none
the visibility check thinks everything is visible. This seems to be becausetop
,right
,bottom
,left
all report as 0. A quick check inisComponentVisible
should remove this false positives.Happy to submit a PR.
Thanks, Tom