-
-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Labels
component: menuChanges related to the menu component.Changes related to the menu component.has workaroundThere’s a bug, but users have a complete workaround, so no urgent fix or release is needed.There’s a bug, but users have a complete workaround, so no urgent fix or release is needed.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Bug report
Current behavior
<Menu.Trigger
className={styles.Button}
onClick={() => {
console.log("clicked trigger");
}}
>
Song <ChevronDownIcon className={styles.ButtonIcon} />
</Menu.Trigger>onClick is never called.
Expected behavior
onClick is called.
Reproducible example
https://codesandbox.io/p/sandbox/vigorous-tree-nl9y5q?file=%2Fsrc%2FApp.tsx%3A17%2C46
Base UI version
1.0.0-alpha.8
Which browser are you using?
Chrome
Which OS are you using?
Mac OS
Which assistive tech are you using (if applicable)?
Voiceover/JAWS etc.
Additional context
Provide any additional context that might help us identify the problem and find a solution.
samhh
Metadata
Metadata
Assignees
Labels
component: menuChanges related to the menu component.Changes related to the menu component.has workaroundThere’s a bug, but users have a complete workaround, so no urgent fix or release is needed.There’s a bug, but users have a complete workaround, so no urgent fix or release is needed.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Projects
Status
Recently completed