Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac Emoji Panel Shows in Wrong Location #16561

Closed
mjbvz opened this issue Dec 6, 2016 · 1 comment
Closed

Mac Emoji Panel Shows in Wrong Location #16561

mjbvz opened this issue Dec 6, 2016 · 1 comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Dec 6, 2016

  • VSCode Version: 1.8 insiders
  • OS Version: OSX 10.10.6

Steps to Reproduce:

  1. Create blank file
  2. type a word and go to the end of the word.
  3. Trigger the mac emoji panel

Expected
Popup shows from where the cursor currently is in the editor.

Actual
screen shot 2016-12-05 at 5 34 54 pm

The panel is off to the side in the gutter somewhere. The cursor was on the last line in this case

@mjbvz mjbvz changed the title Mac Emoji Window Panel Shows in Wrong Location Mac Emoji Panel Shows in Wrong Location Dec 6, 2016
@alexdima
Copy link
Member

alexdima commented Dec 6, 2016

Same root cause as #356 -- the textarea (when not doing comoposition) is positioned in the top left corner of the editor. When we get a compositionstart event, we move the textarea near the primary cursor. In this case, I think we don't get any event until an emoji is picked and we don't get a chance to reposition the textarea.

@alexdima alexdima closed this as completed Dec 6, 2016
@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 6, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants