We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
版本:"@antv/x6-plugin-scroller": "^2.0.10"
由于对于scroller的onUpdate方法进行了消抖操作,且时间为写死的200ms,在用户体验上不太友好,是否考虑优化一下 源码:
X6/packages/x6-plugin-scroller/src/scroller.ts
Line 50 in 3c5856d
解决方案:
autoResize: boolean | { interval: number }
model.on('cell:changed')
node
edge
moveing
cell:changed
throttle
debounce
The text was updated successfully, but these errors were encountered:
这个有计划修复吗
Sorry, something went wrong.
不仅延时问题,线的距离也没有算进去
同问,这个确实体验不好
No branches or pull requests
功能描述
版本:"@antv/x6-plugin-scroller": "^2.0.10"
由于对于scroller的onUpdate方法进行了消抖操作,且时间为写死的200ms,在用户体验上不太友好,是否考虑优化一下
源码:
X6/packages/x6-plugin-scroller/src/scroller.ts
Line 50 in 3c5856d
期望解决方案
解决方案:
model.on('cell:changed')
的方法改为监听node
和edge
的moveing
事件,不进行消抖处理,这里不清楚为什么要监听cell:changed
事件,而且真的要进行操作优化也应该是throttle
而不是debounce
The text was updated successfully, but these errors were encountered: