AutoDarkMode / AutoDarkMode/Windows-Auto-Night-Mode

[Bug] Winui's Combobox changing size when popup open

Open
#1,051 6 comments 1 reaction 0 assignees View on GitHub
area-winui3 external framework known issue
Dominant language
C#
Stars
9.7k
Forks
308
Avg merge
2d 58m
Merged PRs (30d)
3

Description

Combobox layouts look fine in their default view:

Image

When clicked the anchor moves and breaks the layout:

Image

This is especially noticeable if the combobox is wider:

Image

Image

It's almos as if the underlying element changes its width when clicked.
The same does not occur in the Windows settings, so is it a framework bug that we can't do anything about?

Windows settings:

Image

Any ideas @ChenYiLins @Jay-o-Way? Should we even bother looking into this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the WinUI ComboBox examples shown in the report, comparing the closed and open states and the wider layouts. Investigate whether the anchor or underlying element changes size when the popup opens; done means the layout remains stable like the Windows Settings comparison.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.