easysoft / easysoft/zui

数据表格2,垂直滚动没有水平滚动平滑?

Open
#158 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
2.8k
Forks
678
Avg merge
6d 21h
Merged PRs (30d)
7

Description

无论数据量大小,不管鼠标滚动还是拖动垂直滚动条,都没有拖动水平滚动条平滑,感觉非常卡。
貌似水平并没有人为限定刷新策略,而垂直使用了固定刷新率来渲染结果,防止CPU使用率太高,其实这样的限制还有优化的空间。参考第三方前端框架,比如layui/viewui,垂直滚动都很流畅。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named; begin by locating the DataTable2 scrolling implementation and comparing its vertical and horizontal scroll handling. Done means that mouse scrolling and dragging the vertical scrollbar produce smooth horizontal scrolling across different data sizes without excessive CPU usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.