Skip to content
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

Trigger = "click" breaks mouse interaction with components in it. #159

Open
mrkam2 opened this issue Jan 3, 2020 · 1 comment
Open

Trigger = "click" breaks mouse interaction with components in it. #159

mrkam2 opened this issue Jan 3, 2020 · 1 comment

Comments

@mrkam2
Copy link

mrkam2 commented Jan 3, 2020

In the example below, I have Popover that contains Select (from react-select). If Popover trigger is set to "click", then trying to select elements in the drop-down list as well as using its drop-down button closes the popover instead of allowing the interaction.

Using keyboard or trigger="hover" are two workarounds that I found that allow to select elements in a drop-down by clicking.

https://codesandbox.io/s/flamboyant-bhabha-3qh3c

@molnarlaura
Copy link

+1 the click event is not propagated to the child components if the popover trigger is set to click: CodeSandbox-Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants