Fix z-index issue in terminal inline chat suggest#295968
Fix z-index issue in terminal inline chat suggest#295968bangseongbeom wants to merge 4 commits intomicrosoft:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes a z-index stacking issue where the scrollbar and active item indicator were rendering on top of the terminal inline chat's suggest widget. The fix elevates the terminal container's z-index from 0 to 12, positioning it above the scrollbar (z-index 11) while maintaining proper stacking context.
Changes:
- Increased
.pane-body.integrated-terminalz-index from 0 to 12 to ensure terminal UI elements appear above the scrollbar
|
@bangseongbeom let's add specificity to the css selector so it only does this in the terminal inline chat |
…onaco-editor .suggest-widget`
|
@meganrogge I tried that, but we need to remove the terminal's stacking context first. Since the inline chat is inside the terminal, and the terminal has The However, we need to be careful because doing this basically reverts @tisilent's commit 0768cbe. |
|
Maybe #175890 . 🤯 |
…x of `.monaco-editor .suggest-widget`" This reverts commit 482a0db.
Hmm… as you showed, it seems impossible to remove the If the terminal should have As I suggested at the beginning, the best option seems to be setting the terminal's |

Increase terminal z-index to resolve #295960.
Set z-index to 12 since the scrollbar is 11.