Describe the problem
This is an issue with
[?] Patternfly 6
Please give a clear and concise description of the problem. Which components are affected?
When clicking on a dropdown or menutoggle, the first item in a menu is already selected.
How do you reproduce the problem?
Open any dropdown, menutoggle, or other menu-based component and look at the first menu item. It looks like it's being hovered, but it isn't. This affects all the new menus on the PatternFly website as well.
Expected behavior
An item that isn't hovered or focused shouldn't look hovered or focused.
Is this issue blocking you?
We had this as part of a blocker for our release, as it's a regression from the previous (now deprecated) dropdowns and we recently ported to the new ones.
Screenshots
From PatternFly's website:





This affects Chrome too:

And also WebKit:

What is your environment?
- OS: Fedora Linux 40
- Browser: Firefox 125.0.1, Chromium 124.0.6367.60, GNOME Web 46 (WebKitGTK 2.44.1, basically Safari 17 on Linux)
What is your product and what release date are you targeting?
Cockpit. Yesterday was the release. We're unfortunately now shipping with this bug, as we cannot indefinitely postpone the release to wait on a fix in a PatternFly release. ☹️