-
-
Notifications
You must be signed in to change notification settings - Fork 53.4k
Closed
Labels
🐛 BugAnt Design Team had proved that this is a bug.Ant Design Team had proved that this is a bug.
Description
Reproduction link
Steps to reproduce
- 打开重现链接,点击 Scroll To index 999 按钮;
- 持续缓慢向上滑动查看上面的内容,大约 30 条左右;
- 可以发现在从当前行与前一行交界处滑动时会有闪动效果,滑动不流畅。
What is expected?
对于含有长文本的虚拟 table 在往上滑动查看之前的内容时也能够表现流畅没有跳动动的效果
What is actually happening?
长文本向上滑动查看时出现跳动,具体表现为当前行与前一行交界处滑动时,前一行突然出现并把当前行往下挤了一段距离,而不是一点点出现
Environment | Info |
---|---|
antd | 5.22.5 |
React | 18.0.0 |
System | MacBook 2019 |
Browser | chrome 131.0.6778.205 |
需要文本长度不固定,甚至有些过长可能当前 table 一条放不下,并且在复现的时候要快速拖动滚动条到某个位置(或者直接点击 Scroll To index 999 按钮),如果是一条条向下滑再重新往上查看就不会有闪动的问题。大佬们能麻烦帮忙看看嘛(#_#)~
Metadata
Metadata
Assignees
Labels
🐛 BugAnt Design Team had proved that this is a bug.Ant Design Team had proved that this is a bug.