display-locking
display-locking copied to clipboard
How does `isVisible` tie into Intersection Observer v2
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?
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: https://github.com/w3c/csswg-drafts/issues/7317