-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
.NET version
9.0
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No
Issue description
The mouse wheel can't be used to scroll these menus when they're overflowed.
You have to click the arrow buttons at the Top/Bottom. 🤮
To be clear, I'm talking about overflowed ToolStripDropDownMenu
like this:
In Paint.NET, these menus can get overflowed easily if a user installs a lot of plugins.
cc: @rickbrew
Steps to reproduce
Add many ToolStripMenuItem
to a DropDown.
For testing, I created a bunch of Menu items like this.
ToolStripMenuItem[] items = Enumerable
.Range(0, 100)
.Select(x => new ToolStripMenuItem(x.ToString()))
.ToArray();
ToolStripMenuItem testMenu = new ToolStripMenuItem("Test");
testMenu.DropDownItems.AddRange(items);
MenuStrip menuStrip = new MenuStrip();
menuStrip.Items.AddRange(testMenu);
Controls.Add(menuStrip);