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

画布在无限缩放和滚动轴两种模式下,引入小地图插件,表现不一致。 #3397

Open
hanyuesoyeon opened this issue Mar 17, 2023 · 8 comments
Labels
bug:minimap minimap plugin bug

Comments

@hanyuesoyeon
Copy link

Describe the bug

版本号:
"@antv/x6": "^2.3.0"
"@antv/x6-plugin-minimap": "^2.0.2"

画布在滚动轴这种模式下,小地图展示正常。
画布在无限缩放模式下,小地图展示异常,基本用不了。

Your Example Website or App

暂无

Steps to Reproduce the Bug or Issue

1.2.3.4.5.

Expected behavior

期待效果:
在画布无限缩放的模式下,小地图可以正常缩放拖动显示。

Screenshots or Videos

Platform

windows

Additional context

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Mar 17, 2023

👋 @hanyuesoyeon

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 NewByVector added the bug:minimap minimap plugin bug label Mar 22, 2023
@NewByVector
Copy link
Contributor

这个已经加入到我们的工作计划中,感谢你指出问题。

@dongongfeiyu
Copy link

遇到同样的问题,请问解决了吗

@gitLPS
Copy link

gitLPS commented Jul 14, 2023

有使用小地图的demo吗,1.x版本好使,2.x版本不好使啊

@yuuuuuyu
Copy link

我这的表现就是引用了scroll,就会导致minimap的viewport失效,不会随着画布滚动实时移动

@TZZack
Copy link

TZZack commented Sep 4, 2023

我这的表现就是引用了scroll,就会导致minimap的viewport失效,不会随着画布滚动实时移动

我也遇到这个问题了,然后查了下,没有相关的issue和discussion,刚打算提issue,发现把minimap放在scroller插件后面引入,就没问题了。。。 @NewByVector 这个有点隐晦,麻烦修复下哈

@vCloudSail
Copy link

vCloudSail commented Nov 1, 2023

我这的表现就是引用了scroll,就会导致minimap的viewport失效,不会随着画布滚动实时移动

使用画布自带的panning功能,不引入scroll插件,也会出现这个问题

@cuidong626
Copy link
Contributor

#4300 刚提了一个

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

No branches or pull requests

8 participants