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

fixes https://github.com/microsoft/vscode-copilot-release/issues/3520 #239359

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbatten
Copy link
Member

@sbatten sbatten commented Jan 31, 2025

This fixes a bug where updates to the dropdown did not honor the initial options passed in. It also uses menuAsChild: false for the the dropdown menu in the chat widget. This is a tradeoff situation. The context menu rendered as a child of the dropdown button preserves focus state properly. However this often has z-index issues. Setting it to false allows it to render above the rest of the workbench but focus will be sent to an element outside of the chat widget temporarily. This doesn't seem to cause any issues but it is something to be aware of.

@sbatten sbatten self-assigned this Jan 31, 2025
@sbatten sbatten requested a review from jrieken January 31, 2025 18:26
@sbatten sbatten enabled auto-merge (squash) January 31, 2025 18:26
@vs-code-engineering vs-code-engineering bot added this to the February 2025 milestone Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant