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
ToolStripDropDownMenu throws when scrolling down past the last item #6650
Have you experienced this same bug with .NET Framework?:
Yes
Repro steps:
Create a Winforms .Net Core application
Add a toolStrip on the form designer
Add a toolStripDropDownButton on the toolStrip
Add several drop down items under toolStripDropDownButton
In the Form.Designer.cs file, edit height of the this.toolStripDropDownButton1.DropDown.MaximumSize property in order to just display one or a part of one drop down item
Build and run app, then click ToolStripScrollDownButton to display the last dropdown item
Actual behavior:
The ToolStripScrollDownButton is still enabled when displaying the last dropdown item, and in this case, an exception pops up when clicking that ToolStripScrollDownButton again
Expected behavior:
When go through the last dropdown item, the ToolStripScrollDownButton is disabled
Verified the issue with latest .NET SDK 11.0.100.Preview.5.26256.117 build, the issue has been fixed when go through the last dropdown item, the ToolStripScrollDownButton is disabled as below screenshot.
changed the title [-]The ToolStripScrollDownButton should be disabled when displaying and focused on the last dropdown item in order to avoid an exception popping up[/-][+]ToolStripDropDownMenu throws when scrolling down past the last item[/+]on May 12, 2026
Tested in the latest .NET 11 Preview 7 build: 11.0.100-preview.7.26352.103 + built private dls from the main branch of WinForms repo, it was fixed. When the last drop-down item is displayed, clicking the ToolStripScrollDownButton again no longer throws an exception, but the ToolStripScrollDownButton is still enabled.
Activity
Fix ToolStripDropDownMenu scroll boundary handling to prevent out-of-…
Zheng-Li01 commentedon May 8, 2026
Verified the issue with latest .NET SDK 11.0.100.Preview.5.26256.117 build, the issue has been fixed when go through the last dropdown item, the ToolStripScrollDownButton is disabled as below screenshot.
6650.mp4
[-]The ToolStripScrollDownButton should be disabled when displaying and focused on the last dropdown item in order to avoid an exception popping up[/-][+]ToolStripDropDownMenu throws when scrolling down past the last item[/+]KlausLoeffelmann commentedon May 12, 2026
Reopened, because we need to take care of a regression here.
Amy-Li03 commentedon Jul 3, 2026
Tested in the latest .NET 11 Preview 7 build: 11.0.100-preview.7.26352.103 + built private dls from the main branch of WinForms repo, it was fixed. When the last drop-down item is displayed, clicking the ToolStripScrollDownButton again no longer throws an exception, but the ToolStripScrollDownButton is still enabled.

Amy-Li03 commentedon Aug 3, 2026
Verified on .NET 11 Preview 7 test pass build: .NET 11.0.100-preview.7.26381.103, issue was fixed, test result is same as above.