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 3f20370 + 5b98372 commit fbdd2b7Copy full SHA for fbdd2b7
src/vs/editor/contrib/hover/browser/contentHover.ts
@@ -791,6 +791,10 @@ export class ContentHoverWidget extends ResizableContentWidget {
791
this._adjustContentsBottomPadding();
792
this._adjustHoverHeightForScrollbar(height);
793
}
794
+ if (this._visibleData?.showAtPosition) {
795
+ const widgetHeight = dom.getTotalHeight(this._hover.containerDomNode);
796
+ this._positionPreference = this._findPositionPreference(widgetHeight, this._visibleData.showAtPosition);
797
+ }
798
this._layoutContentWidget();
799
800
0 commit comments