Context menu listener breaks when a SVG element is present
In the ContextMenu
(possible elsewhere as well) e.target.className
is expected to be string, but for SVG, it is an instance of SVGAnimatedString.
Edited by David Hoksza
In the ContextMenu
(possible elsewhere as well) e.target.className
is expected to be string, but for SVG, it is an instance of SVGAnimatedString.