antvis / X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.
https://x6.antv.antgroup.com
MIT License
5.67k stars 1.69k forks source link

Safari按钮渲染位置错位 #3354

Open Monk991 opened 1 year ago

Monk991 commented 1 year ago

Describe the bug

image

Your Example Website or App

https://x6.antv.antgroup.com/examples/showcase/practices#dataProcessingDag

Steps to Reproduce the Bug or Issue

1.打开Safari 2.打开https://x6.antv.antgroup.com/examples/showcase/practices#dataProcessingDag 3.点击任意节点

Expected behavior

期望按钮渲染以节点为参照

Screenshots or Videos

No response

Platform

Additional context

No response

x6-bot[bot] commented 1 year ago

👋 @Monk991

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

NewByVector commented 1 year ago

safari 对 foreignObject 内部 position 为 relative 和 absolute 支持不太好,所以出现样式错误。

lucyanddarlin commented 4 months ago

safari 对 foreignObject 内部 position 为 relative 和 absolute 支持不太好,所以出现样式错误。

hi~那现在有修复嘛,我也遇到了位置渲染异常的问题