Fixes #69238: Avoid placing the hover above the page

上级 7680bfc4
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册