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

[terminal] Move hover tooltip zIndex above the xterm.js canvas layers #6318

Conversation

jankeromnes
Copy link
Member

What it does

Currently, the link Cmd + click tooltip appears behind the Xterm canvas border:

Screenshot 2019-10-03 at 10 30 29

That's because it has a z-index of 1, while Xterm canvas layers have z-indexes of 0, 1, 2 and 3.

In this Pull Request, I've set the tooltip z-index to 10, which makes it appear above the Xterm canvas border:

Screenshot 2019-10-03 at 10 40 13

How to test

  1. Run Theia
  2. Run `echo "https://www.google.com" in the Terminal
  3. Hover over the output link with your mouse

Review checklist

Reminder for reviewers

Signed-off-by: Jan Keromnes <jan.keromnes@typefox.io>
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks much better now thank you!

@akosyakov akosyakov added the terminal issues related to the terminal label Oct 3, 2019
@akosyakov
Copy link
Member

@jankeromnes is not a committer @vince-fugnitto please help with merging

@vince-fugnitto vince-fugnitto merged commit 1577e73 into eclipse-theia:master Oct 3, 2019
@jankeromnes jankeromnes deleted the jx/fix-terminal-tooltip-zindex branch October 3, 2019 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
terminal issues related to the terminal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants