xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.33k stars 1.61k forks source link

Emoji panel and accent menu positioning is broken #4938

Open LabhanshAgrawal opened 7 months ago

LabhanshAgrawal commented 7 months ago

Details

Steps to reproduce

  1. Focus on the terminal and enter any command (e.g. ls) so that cursors comes to a new line
  2. Now open emoji panel (ctrl+cmd+space)
  3. The panel opens at the edge of the screen instead of the cursor position
  4. The position is correct if you enter some text in the terminal or click somewhere else and then refocus.
Screenshot 2024-01-08 at 01 54 43

The accent menu is always positioned incorrectly (also it doesn't work, but that might need a separate bug report I guess)

Screenshot 2024-01-08 at 02 05 26