Closed matine closed 5 years ago
I have this issue as well, although I do not directly attach the listener to an SVG but to a click that ocntains the SVG. When the padding of the link is clicked, it works properly, however when the inner SVG is clicked exactly, listener is not called.
Is there a way to solve this issue? It works properly on IE11+ :).
Any joy? Just come across this issue.
I'm using a psuedo element to get round this issue:
[data-menu-close] {
svg {
z-index: -1;
}
&::after {
@apply absolute pin w-full h-full block;
content: ' ';
}
}
Hi all, this should be fixed by backflip's pr and will go out in the next release (v3.1.0). Edit: Thanks for creating the issue, sorry it took so long :)
Currently throwing an exception trying to call getAttribute function