tether icon indicating copy to clipboard operation
tether copied to clipboard

Bug: strange pixel gaps on bottom with `visible` targetModifier

Open kizu opened this issue 11 years ago • 2 comments

Here is an example: http://codepen.io/kizu/pen/wDyzE and the full-page view: http://codepen.io/kizu/full/wDyzE/

I can see there two problems:

  1. On the editor view on CodePen you can see that there is one extra pixel on the bottom, while on the full page the block is positioned properly. This is strange.
  2. Moreover: on both views when you scroll all the way to the bottom there is a two pixel gap at the bottom.

What is expected: when the element is attached to the bottom of the block's visible area, it should always be at the bottom of it, without any gaps. Maybe there are some rounding errors that prevent it from happening?

kizu avatar May 28 '14 08:05 kizu

@kizu I realize this is a super old issue, but I just took a look at the CodePen and I do not see any issues. Are you still seeing it?

RobbieTheWagner avatar Oct 23 '19 23:10 RobbieTheWagner

Just kidding, I do see the issue still. I think something about _getActualBoundingClientRect is getting a value that is a couple pixels off.

RobbieTheWagner avatar Oct 24 '19 00:10 RobbieTheWagner