Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] ArrayTable组件拖拽功能在第二页失效 #3793

Closed
1 task done
zhaolingqi opened this issue Apr 17, 2023 · 1 comment
Closed
1 task done

[Bug Report] ArrayTable组件拖拽功能在第二页失效 #3793

zhaolingqi opened this issue Apr 17, 2023 · 1 comment

Comments

@zhaolingqi
Copy link

zhaolingqi commented Apr 17, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 在ArrayTable创建多页数组项

  2. 在第二页拖拽移动数组项

What is expected?

第二页数组项可以正常拖拽移动

What is actually happening?

第二页数组项无变化,第一页的数组项移动。

Package

@formily/semi@1.0.11


组件内使用数组的index作为索引,导致第二页和第一页的索引相同,拖拽第二页的数组项使得对应第一页的相同索引的数组项生效。

@programmerwy
Copy link
Contributor

fixed: formilyjs/semi@d5ecd93

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 在ArrayTable创建多页数组项
  2. 在第二页拖拽移动数组项

What is expected?

第二页数组项可以正常拖拽移动

What is actually happening?

第二页数组项无变化,第一页的数组项移动。

Package

@formily/semi@1.0.11

组件内使用数组的index作为索引,导致第二页和第一页的索引相同,拖拽第二页的数组项使得对应第一页的相同索引的数组项生效。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants