Problem with limit of the sensible zone of SVG
...
Hello Captivaters !...
I'm still working on colorize SVGs... And found a problem that I try to solve for too long now !... So I come here, hoping for some help... if it's possible ?...
The problem concerns the ability of the SVGs to be clickable only in the shape (and not in the bounding box).
It appears that this ability works perfectly... but only one time.
In the first example (Exemple 1), I deliberatly separate the 2 triangles. And if I try to click in the middle of them, nothing happens, as it is expected. But if I color one of the triangle, or even both of them, and I want to change this color, it appears that the bounding box becomes sensible again. And so, depending on the layer where the triangle is located, it becomes hard to color exactly what we want.
I made a simple project to demonstrate this... but I just realized that we can't join cptx file here (!!!...)...
So if you are interested in helping me, don't spend too much time in redoing the case, just join me on private messages (as it is now available !!...), I will try to give you this project...
Thanks !...
😉
...
