Affected components
context-menu — ContextMenuSubTrigger
menubar — MenubarSubTrigger (via DropdownMenuSubTrigger)
Problem
The current base-vega registry emits data-open:bg-accent data-open:text-accent-foreground on submenu triggers:
Base UI exposes data-popup-open on Menu.SubmenuTrigger when its submenu is open, not data-open. The equivalent context-menu trigger has the same attribute contract.
https://base-ui.com/react/components/menu
As a result, the generated open-submenu trigger styling does not activate.
Expected change
Replace the trigger selectors with:
data-popup-open:bg-accent data-popup-open:text-accent-foreground
data-open should remain on popup/content elements, where it is correct.
Reproduction
- Initialize or configure a project with
style: "base-vega".
- Add
context-menu or menubar.
- Open a submenu and observe that its trigger does not receive the generated open styling.
I verified this against the current registry payload and @base-ui/react data-attribute declarations.
Affected components
context-menu—ContextMenuSubTriggermenubar—MenubarSubTrigger(viaDropdownMenuSubTrigger)Problem
The current
base-vegaregistry emitsdata-open:bg-accent data-open:text-accent-foregroundon submenu triggers:Base UI exposes
data-popup-openonMenu.SubmenuTriggerwhen its submenu is open, notdata-open. The equivalent context-menu trigger has the same attribute contract.https://base-ui.com/react/components/menu
As a result, the generated open-submenu trigger styling does not activate.
Expected change
Replace the trigger selectors with:
data-openshould remain on popup/content elements, where it is correct.Reproduction
style: "base-vega".context-menuormenubar.I verified this against the current registry payload and
@base-ui/reactdata-attribute declarations.