VisActor / VisActor/VTable

[Feature] 行拖拽到表格可见区域的底部后(未到表格底部)可否实现自动向下滚动

Open
#4,392 5 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?
需求描述

在使用行拖拽功能

rowSeriesNumber: {
      title: '序号', // 行序号列标题
      dragOrder: true, // 启用行拖拽功能
}

滑动到表格可见区域的底部后(未到表格底部)可否实现自动向下滚动

目前情况

目前是没有自动滑动,目前是既需要继续摁住鼠标左键进行拖拽,还要滚动鼠标滚轮才能向下滑动

图片
Image
期望

1、当行拖拽到表格可见区域的底部后,可实现自动向下滚动
2、当行拖拽到表格可见区域的顶部后,可实现自动向上滚动

What does the proposed API look like?
期望

1、当行拖拽到表格可见区域的底部后,可实现自动向下滚动
2、当行拖拽到表格可见区域的顶部后,可实现自动向上滚动

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

No implementation file or test is named. Start by locating the rowSeriesNumber dragOrder implementation, then reproduce dragging a row to the visible table edges; done means dragging near the bottom or top automatically scrolls in that direction without releasing the mouse or using the wheel.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.