VisActor / VisActor/VTable

[Bug] 表格选中高亮用鼠标按住某个单元格,通过方向键改变当前选中的单元格。之前选中的单元格的选中状态会叠加(选中颜色加深)

Open
#4,394 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version

1.19.7

Link to Minimal Reproduction

https://visactor.io/vtable/demo/performance/100W

Steps to Reproduce

1.选中某个单元格左键按住
2.通过方向键改变当前的选中单元格目标

Current Behavior

选中状态叠加

Image
Expected Behavior

应该是正常的选中状态

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

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 reproducing the issue in the linked 100W performance demo: hold the mouse on a selected cell and use the arrow keys to move the selection. Trace the table's mouse-selection and keyboard-navigation handling, then verify that the previously selected cell does not retain an intensified highlight and that the current selection renders normally.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.