Skip to content

ComboBox border not visible in strip controls when navigated via keyboard #12744

Description

@Syareel-Sukeri

.NET version

.NET 10.0.100-alpha.1.25058.38

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

This issue cannot be reproduced in .NET 8.

Issue description

When a ComboBox is added to any strip control (MenuStrip, ToolStrip, StatusStrip, ContextMenuStrip), its border becomes invisible when focused using the Tab or Arrow keys.

Current behavior (.NET 9.0 and .NET 10.0)
The ComboBox receives focus, but its border is not visible when navigated via keyboard.

Border10.mp4

Expected behavior (.NET 8)
ComboBox should display a visible border when focused, even when navigated via keyboard.

Border8.mp4

Steps to reproduce

  1. Create WinForms .NET Core app with MenuStrip.
  2. Add a ComboBox directly to the MenuStrip or use it as a dropdown item.
  3. Run the project
  4. Use the Tab or Down Arrow key to navigate to the ComboBox.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions