antvis / antvis/X6

scroller update 方法是否应该使用防抖?

Open
#3,223 4 comments 0 reactions 1 assignee Claimed by @zhang2feng View on GitHub
help wanted oscp
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

我看 Scroller 代码中 onUpdate 时,出于性能考虑使用了防抖函数 `this.onUpdate = FunctionExt.debounce(this.onUpdate, 200)`,但这样用户体验并不是很好。从用户体验角度来说,能否去掉这个优化呢?

_Originally posted by @haohaio in https://github.com/antvis/X6/discussions/3214_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.