First item on context menus always "hovered"
Author: bonanitechCreated May 26, 2026Updated Sep 17, 2026
Labelsbugeditor
Current Behavior
When you open the Node-RED context menu by right-clicking, the first menu item always displays the hover effect, even if the mouse pointer is not over it.
Strangely, the effect disappears when you open the browser console and returns when you close it.
This issue is also present in Node-RED v4.
Expected Behavior
The hover effect should be present only while the mouse pointer is over the menu item.
Steps To Reproduce
Right-click on the workspace or the tab bar.
Example flow
No response
Environment
- Node-RED version: current dev branch
- Node.js version: 26.0.0
- npm version: 11.12.1
- Platform/OS: macOS Tahoe 26.5
- Browser: Chrome, Safari, Firefox
Source: node-red/node-red