javascript - DOM: Observing changes of bounding rectangles -
is possible observe changes of screen position , size dom elements?
mutationobserver doesn't seem react changes caused scrolling or resizing - don't affect dom elements' properties, in reality alter onscreen bounding rectangle.
i haven't been able find elegant/"standard" way this, other responding onresize , onscroll events of parent elements.
Comments
Post a Comment