Skip to content

Cannot click objects in SVG when svg-pan-zoom is enabled #463

@Kevijeps

Description

@Kevijeps

Greetings
Working on an implementation of using pan-zoom on a network map.
There are objects with IDs inside the SVG that when "clicked" open a data card about the object as a popover.
This works great with or without pan-zoom as long as the clicks are being done with a mouse.
On mobile devices touch events work on the SVG but don't when pan-zoom is loaded.
The SVG is loaded into the main webpage as an object.
Is there anyway to make the touch events activate the objects?
It looks like the controls for pan-zoom take priority somehow.
Thanks for your help.

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