mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 08:14:36 -05:00
Fixes #69238: Avoid placing the hover above the page
This commit is contained in:
@@ -380,7 +380,7 @@ class Widget {
|
||||
belowLeft = absoluteBelowLeft;
|
||||
}
|
||||
|
||||
return { fitsAbove, aboveTop, aboveLeft, fitsBelow, belowTop, belowLeft };
|
||||
return { fitsAbove, aboveTop: Math.max(aboveTop, TOP_PADDING), aboveLeft, fitsBelow, belowTop, belowLeft };
|
||||
}
|
||||
|
||||
private _prepareRenderWidgetAtExactPositionOverflowing(topLeft: Coordinate): Coordinate {
|
||||
|
||||
Reference in New Issue
Block a user