Skip to content

Commit 11142be

Browse files
authored
Merge pull request #41 from xiaoxiangmoe/master
fix arrowLabel's visibility
2 parents 9871b65 + c4e04d3 commit 11142be

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

example.png

1.35 KB
Loading

src/SvgArrow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const SvgArrow = ({
169169
markerEnd={`url(${location.href}#${arrowMarkerId})`}
170170
/>
171171
{arrowLabel && (
172-
<foreignObject x={xl} y={yl} width={wl} height={hl}>
172+
<foreignObject x={xl} y={yl} width={wl} height={hl} style={{overflow:'visible'}}>
173173
<div
174174
style={{
175175
width: wl,

0 commit comments

Comments
 (0)