-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We should have a check for "this element is fully visible," where "visible" means "fully in the viewport, and not obscured by other elements."
We might be able to do this with elem.getClientBoundingRect(), and checking (a) that the bounding rect is within the viewport, and (b) checking each corner of the element with https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint, to ensure that it is the element returned (i.e. there's nothing stacked on top).
Metadata
Metadata
Assignees
Labels
No labels