You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The height of the "DropDown" list for the combobox control can't be reset default height after called the " comboBox1.Items.Clear();" method #339
Actual:
The height of the "DropDown" list for the combobox control can't be reset default height after called the " comboBox1.Items.Clear();" method.
Expected:
The height of the "DropDown" list for the combobox control should be reset default height after called the " comboBox1.Items.Clear();" method.
@OliaG Sorry, I reversed the actual result and expected result when reporting it. The correct result has been updated in above reproduce steps. Could you please review again and triage it to see if it is a real issue? If yes, please reactive the bug, due to I don't have permission to change it.
@Jessie-Zhang01 I tried the example in net45 and net472 and it appears to be behaving the same way.... Can you please confirm this is an existing behaviour in .NET Framework?
Verified the issue with private dlls built from main branch of dotnet/winforms repo + .NET SDK 11.0.100-rc.3.26522.148 build, the issue has been fixed as below screenshot.
Activity
OliaG commentedon Jan 22, 2019
Seems this is not an issue, the Actual result is the desired. If we drag-and-drop empty combobox, we'll get the same Actual result.
Jessie-Zhang01 commentedon Jan 23, 2019
@OliaG Sorry, I reversed the actual result and expected result when reporting it. The correct result has been updated in above reproduce steps. Could you please review again and triage it to see if it is a real issue? If yes, please reactive the bug, due to I don't have permission to change it.
Jessie-Zhang01 commentedon Jan 30, 2019
@OliaG @merriemcgaw Could you please help to review this issue again if need to reactivate it?
Jessie-Zhang01 commentedon Apr 9, 2020
This issue still reproduce on .Net Core 5.0.100-preview.4.20208.26.
RussKie commentedon Apr 9, 2020
Can you please supply a repro project.
Jessie-Zhang01 commentedon Apr 9, 2020
Of course, you can use the following project to reproduce this issue:
ComboBox.zip
RussKie commentedon Apr 14, 2020
@Jessie-Zhang01 I tried the example in net45 and net472 and it appears to be behaving the same way.... Can you please confirm this is an existing behaviour in .NET Framework?
Jessie-Zhang01 commentedon Apr 14, 2020
@RussKie Yes, this issue also reproduce on .Net Framework. And this issue was associated with vs feedback item: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/759614
Fix ComboBox dropdown height after clearing or removing all items (do…
Zheng-Li01 commentedon Oct 30, 2026
Verified the issue with private dlls built from main branch of dotnet/winforms repo + .NET SDK 11.0.100-rc.3.26522.148 build, the issue has been fixed as below screenshot.
