lrsjng / jquery-fracs

jQuery plugin to determine the visible fractions of HTML elements.

Home Page:https://larsjung.de/jquery-fracs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Container Clipping Not Represented

darkfrog26 opened this issue · comments

Here's my prototype implementation:

http://hyp.dev.outr.com:8080/example/modal_component.html

When you click on one of the two rectangles it selects it and uses fracs().rects.viewport to determine how to position the outline. As you can see, when the rectangle is clipped by the scrollbar it doesn't properly represent that in fracs.

I'm dumping fracs information to the JavaScript console upon update.