-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
monaco: adjust where the monaco menu appears #10909
Conversation
cf5023f
to
421a821
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#quick-input-container { | ||
position: absolute; | ||
top: 0px; | ||
right: 50%; | ||
z-index: 1000000; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering whether we need this change. It doesn't seem to do anything, and removing it doesn't change the behavior.
@msujew ahh you're right, I see the odd behavior when I modify the layout. I'm not checking what might be a better choice to append to, but I'm also worried if downstream they modify their |
Yeah, the downstream issue is difficult. I have two ideas:
|
421a821
to
a8ed907
Compare
@msujew I modified the code slightly to use a fixed position and it seems to have resolved the issue, is there an issue with this approach? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, that approach looks good!
a8ed907
to
71ab91c
Compare
The commit adjusts the monaco menu (quick-input) to appear after the main-menu and not overlay it. Signed-off-by: vince-fugnitto <[email protected]>
71ab91c
to
d3d0776
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The quick input no longer obscures the menu bar.
What it does
Fixes: #10907
The pull-request adjusts the monaco menu (quick-input) to appear after the main-menu and not overlay it.
monaco-menu-improvement.mp4
How to test
native
titlebar stylecustom
titlebar styleReview checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto [email protected]