antvis/G6

Do you want to work on this issue?
You can request for a bounty in order to promote it!
[Bug]: HTML node is always on top even with lower zIndex #6974
nishant-singh posted onGitHub
Describe the bug / é®é¢ęčæ°
Description:
HTML type node are always rendered on top. Even after setting zIndex of edge to 99, it does not come on top of html node.
Same happens with shadow element when dragging. Setting shadowZIndex
to 99 does not have any effect.
Only happens when using canvas as renderer
Reproduction link / å¤ē°é¾ę„
No response
Steps to Reproduce the Bug or Issue / éē°ę„éŖ¤
- Create a graph with html node
- Add drag-element behavior and set shadow to true
- Notice shadow is behind the HTML node, which does not change even after setting its zIndex
Same for edge overlap: Make edge overlapping the source and target by setting startArrowOffset and endArrowOffset. No matter what zIndex you set, edges are always behind HTML node.
Version / ēę¬
š 5.x
OS / ęä½ē³»ē»
- macOS
- Windows
- Linux
- Others / å ¶ä»
Browser / ęµč§åØ
- Chrome
- Edge
- Firefox
- Safari (Limited support / ęéęÆę)
- IE (Nonsupport / äøęÆę)
- Others / å ¶ä»