We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9306ddc + ea2eb0d commit d63892fCopy full SHA for d63892f
src/vs/platform/hover/browser/hoverWidget.ts
@@ -553,7 +553,7 @@ export class HoverWidget extends Widget implements IHoverWidget {
553
// Position hover below the target
554
else if (this._hoverPosition === HoverPosition.BELOW) {
555
// Hover on bottom is going beyond window
556
- if (target.bottom + this._hover.containerDomNode.clientHeight + hoverPointerOffset > this._targetWindow.innerHeight) {
+ if (target.bottom + this._hover.containerDomNode.offsetHeight + hoverPointerOffset > this._targetWindow.innerHeight) {
557
this._hoverPosition = HoverPosition.ABOVE;
558
}
559
0 commit comments