VisActor / VisActor/VTable

[Feature] 明细表-主题-冻结列 添加配置支持滚动到初始位置时不展示冻结线效果

Open
#2,924 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

What problem does this feature solve?
  1. 目前是只要配置了冻结列效果,不管横向滚动条的滚动位置,冻结线的效果会一直存在
  2. 希望能增加配置,当滚动到初始(左侧)、结束为止(右侧)时,冻结线效果消失
image

期望效果类似下图
image

What does the proposed API look like?
frozenColumnLine: {
  shadow: {
	  width: 10,
	  startColor: 'rgba(0,0,0,.12)',
	  endColor: 'rgba(0,0,0,.01)',
          showAtOrigin: false,   // 新增
  }
},

Contributor guide

Open the contributing guide

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

Start by tracing the frozenColumnLine.shadow configuration and the horizontal-scroll handling for frozen columns. Add support for showAtOrigin and verify that the freeze-line effect disappears at the left or right scroll boundary while remaining visible between them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.