Closed pmorim closed 3 years ago
@pmorim Try using divContainerStyle={{ zIndex: -1}}
@BKurzawa thank you, you are a lifesaver.
But I still think there should be a zIndex
prop.
does divContainerStyle={{ zIndex: -1}} worked perfectly it your case? considering adding this prop because it is common to use in arrow component @pmorim
suggestion accepted
added in dev branch
Is your feature request related to a problem? Please describe. I tried to render the arrow behind a component by doing something like this:
But it doesn't work. Is there any way to do it at the moment?
Describe the solution you'd like There should be a zIndex prop that would be passed to the svg components of the arrow. Something like this:
Describe alternatives you've considered
start
andend
refs dynamically, therefore, I need to render the components before I render the connection between them (I'm using use-dynamic-refs for this).opacity
to0.99
to see if the problem was with a Stacking Context, but it didn't work.Additional context I want a way for the connection to be displayed behind the little gray circles.
I'm using this library for a university project, so I really need a solution for this, even if it is just a hacky workaround.