未验证 提交 98cd33b3 编写于 作者: A Alex Dima

Fixes #27801: Make the textarea use a proper font size, line height and height...

Fixes #27801: Make the textarea use a proper font size, line height and height to help with the positioning of input pop-ups
上级 2d77f635
......@@ -454,6 +454,18 @@ export class TextAreaHandler extends ViewPart {
}
// The primary cursor is in the viewport (at least vertically) => place textarea on the cursor
if (platform.isMacintosh) {
// For the popup emoji input, we will make the text area as high as the line height
// We will also make the fontSize and lineHeight the correct dimensions to help with the placement of these pickers
this._renderInsideEditor(
top, left,
canUseZeroSizeTextarea ? 0 : 1, this._lineHeight,
true
);
return;
}
this._renderInsideEditor(
top, left,
canUseZeroSizeTextarea ? 0 : 1, canUseZeroSizeTextarea ? 0 : 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册