Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

How does isVisible tie into Intersection Observer v2 #217

Open
lukewarlow opened this issue May 10, 2022 · 1 comment
Open

How does isVisible tie into Intersection Observer v2 #217

lukewarlow opened this issue May 10, 2022 · 1 comment

Comments

@lukewarlow
Copy link

Apologies if I've missed it but it seems currently the isVisible method doesn't provide a way to tie into the extra abilities inside of IntersectionObserver v2. Would this be something you'd consider adding as an option in future, so the method can be used for detecting if the element is obscured as a one off, without needing to use Intersection observer?

@vmpstr
Copy link
Collaborator

vmpstr commented Jun 15, 2022

Sorry for the (very very) late reply, but this method's name is confusing since it provides different utility. You can read some context here: w3c/csswg-drafts#7317

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants