VisActor / VisActor/VTable

[Bug] 基于react-vtable接入自定义react组件后纵向滚动时表头异常

Open
#3,255 1 comment 0 reactions 1 assignee View on GitHub

@Rui-Sun is already working on this.

Since Jan 6, 2025.

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

Description

Version

1.14.2

Link to Minimal Reproduction

https://visactor.io/vtable/demo-react/custom-layout/cell-custom-dom

Steps to Reproduce

基于react-vtable接入自定义react组件后纵向滚动时表头显示异常,滚动功能异常。

Current Behavior
  1. 如图,接入自定义组件后,纵向滚动到头部时组件会覆盖表头,导致页面显示异常;且,使用了自定义组件的列无法触发表格的滚动;
  2. 并且,自定义单元格组件后,页面异常卡顿。
Expected Behavior
  1. 当纵向滚动到表头时,自定义组件不该覆盖表头;自定义组件也可以正常滚动;
  2. 自定义组件后,能否优化这部分的性能;
    谢谢
Environment

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.