We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d77f63 commit 98cd33bCopy full SHA for 98cd33b
1 file changed
src/vs/editor/browser/controller/textAreaHandler.ts
@@ -454,6 +454,18 @@ export class TextAreaHandler extends ViewPart {
454
}
455
456
// The primary cursor is in the viewport (at least vertically) => place textarea on the cursor
457
+
458
+ if (platform.isMacintosh) {
459
+ // For the popup emoji input, we will make the text area as high as the line height
460
+ // We will also make the fontSize and lineHeight the correct dimensions to help with the placement of these pickers
461
+ this._renderInsideEditor(
462
+ top, left,
463
+ canUseZeroSizeTextarea ? 0 : 1, this._lineHeight,
464
+ true
465
+ );
466
+ return;
467
+ }
468
469
this._renderInsideEditor(
470
top, left,
471
canUseZeroSizeTextarea ? 0 : 1, canUseZeroSizeTextarea ? 0 : 1,
0 commit comments