Skip to content

Question: How to apply .allowsHitTesting(false) to SVGNode? #70

@TemurUsmanov

Description

@TemurUsmanov

Great library, thanks for it.
I have circles in svg, and text on top. When I set onTabGesture for the circle, then clicking on it does not work, if you click exactly on the text, apparently svgText intercepts the click and it does not work. At the same time, if you set onTabGesture for the text, it also does not work. I tried to pass in svg pointer-events="none" - did not help. I tried to use removeAllGestures() - did not help.

Somehow I want to apply .allowsHitTesting(false) to SVGText, how can I do this?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions