Skip to content

fix(combobox): allow dropdown toggle when clicking prefix or suffix text - #4091

Open
corvinsz wants to merge 1 commit into
MaterialDesignInXAML:masterfrom
corvinsz:fix4090
Open

fix(combobox): allow dropdown toggle when clicking prefix or suffix text#4091
corvinsz wants to merge 1 commit into
MaterialDesignInXAML:masterfrom
corvinsz:fix4090

Conversation

@corvinsz

@corvinsz corvinsz commented Sep 8, 2026

Copy link
Copy Markdown
Member

fixes #4090

Sets IsHitTestVisible="False" on the internal PrefixTextBlock and SuffixTextBlock so mouse events are handled by the underlying ComboBox.

I tested clicking both the Prefix and Suffix in the same test rather than using two separate tests (or making the test data-driven) to avoid the overhead of starting the app multiple times.

@Keboo I'm not 100% sure whether the Task.Delay(50) is appropriate here, or if this should instead use a Wait.For(...) call. There is a test above that uses the same 50ms delay, so I followed that approach.

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.

ComboBox dropdown is not toggled when clicking PrefixText or SuffixText

1 participant