Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上下移动节点连线位置错误 #55

Open
hello-yajing opened this issue Feb 1, 2023 · 7 comments
Open

上下移动节点连线位置错误 #55

hello-yajing opened this issue Feb 1, 2023 · 7 comments

Comments

@hello-yajing
Copy link

用的官网示例,第四个例子,上下移动节点,连线位置错误。

@noonnightstorm
Copy link
Collaborator

请截图一下,并说明下你的使用的版本号、浏览器、系统版本

@hello-yajing
Copy link
Author

12bd576714bfedeb0eea66ba0b03773

db59db90c1fd96f38421ac08db38139

![image](https://user-images.githubusercontent.com/39940799/216207905-05d19417-21e0-483e-8559-878f6df7660c.png)

@hello-yajing
Copy link
Author

image

@hello-yajing
Copy link
Author

image

@hello-yajing
Copy link
Author

image

@hello-yajing
Copy link
Author

image

@noonnightstorm
Copy link
Collaborator

你应该是在调试热更新的时候刷新偏移的吧?因为热更新刷新的时候记录了浏览器本来的scroll height,所以导致偏移。实际的生产环境下刷新不会出现这种情况的哈~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants