-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Select] fix: onClick event propagation #3183
base: main
Are you sure you want to change the base?
Conversation
Why would this be needed? Is there some reason you can't do this in your codebase? I would be very careful when planning to call |
This would be needed because |
I understand and I would like to try and help you. You can add event listeners to the For example: <Select.Root>
{...}
<Select.Portal>
<Select.Content>
{...}
<Select.Item onClick={event => event.stopPropagation()}>
{...}
</Select.Item>
</Select.Content>
</Select.Portal>
</Select.Root> |
@akselinurmio thanks for the suggestion. Tried but still doesn't work. |
Description
Prevent Select.Root's onValueChange event to propagate to other event handlers.