Eliav2 / react-xarrows

Draw arrows (or lines) between components in React!
https://codesandbox.io/embed/github/Eliav2/react-xarrows/tree/master/examples?fontsize=14&hidenavigation=1&theme=dark
MIT License
584 stars 75 forks source link

Get zIndex access for path and label elements #111

Closed Jean-Baptiste-INO closed 2 years ago

Jean-Baptiste-INO commented 2 years ago

Hi ! I'm facing issues with some crossed arrows which are pass over my custom labels. And i can't access to z-index style properties to fix my issue.

Capture d’écran 2021-12-01 à 12 24 15

Getting the possibility to disable the default value of z-index for the xArrows main div which is set to 0 currently and add a z-index style property on the main div of custom labels would be awesome !

Jean-Baptiste-INO commented 2 years ago

"Solved" by manipulating the DOM after rendering. Very simple by adding an id with the advanced feature passingProps 👍