-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Click event's don't bubble outside SVG #1509
Comments
Do you have a repro? (jsfiddle?) |
I can't repro this: |
I had the same problem. A little CSS solved it for me: svg {
pointer-events: none;
} |
@mattweb +1 |
Same issue here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Im doing something like:
If
this.props.label
is a div, span or some text, clicking on it triggersthis.toggle
. However, ifthis.props.label
is an svg thenonClick
never gets triggered.The text was updated successfully, but these errors were encountered: