Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix isVisible check #2288

Merged
merged 4 commits into from
Aug 29, 2021
Merged

fix isVisible check #2288

merged 4 commits into from
Aug 29, 2021

Conversation

saikrishna321
Copy link
Member

Current implementation always returns true for visibility check if the element is present in the DOM but not in viewport. As per the documentation API should only true when the element is in viewport.

This PR fixes this issue.

Signed-off-by: saikrishna321 [email protected]

@saikrishna321 saikrishna321 requested a review from zabil August 27, 2021 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants