diff --git a/lib/widget.js b/lib/widget.js index e7fdd06..180c4d8 100644 --- a/lib/widget.js +++ b/lib/widget.js @@ -3049,7 +3049,12 @@ Element.prototype._getCoords = function(get, noscroll) { // XXX // Fixes non-`fixed` labels to work with scrolling (they're ON the border): - b = 0; + if (this.position.left < 0 + || this.position.right < 0 + || this.position.top < 0 + || this.position.bottom < 0) { + b = 0; + } if (yi < ppos.yi + b) { if (yl - 1 < ppos.yi + b) {