Skip to content

handle.className.indexOf is undefined if handle is svg element #1

@makeover

Description

@makeover

Im using Highcharts (i.e. SVGs) inside my grids and clicking on them throws an error:
Uncaught TypeError: handle.className.indexOf is not a function

Wrapping the SVG inside a div doesnt seem to help.

However, adding a check for SVGs probably would:
!(handle instanceof SVGElement)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions