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

在表格内使用Image.PreviewGroup加载多张图片切换时不同Group&record之间图片互串 #28881

Closed
1 task
wansuiasdn opened this issue Jan 15, 2021 · 1 comment · Fixed by react-component/image#62 · May be fixed by jeswr/ant-design#13
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@wansuiasdn
Copy link

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

Reproduction link

https://ois2e.csb.app/

Steps to reproduce

表格内使用Image 然后第一页第一条数据图片正常 第二页第一条数据里的图片可以翻到第一页第一条数据里的图,也可以先到第二页点击最后一张图片却还能往后查阅

What is expected?

互相独立互不干扰

What is actually happening?

表格每条数据里面的图片都会和前一页同条(位置相同)的数据互串

Environment Info
antd 4.10.2
React 16.12.0
System win10
Browser firefox
@wansuiasdn
Copy link
Author

大佬们可以测一下,盲猜跟key有关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment