bootstrap-table icon indicating copy to clipboard operation
bootstrap-table copied to clipboard

总行数在110-160之间的时候虚拟滚动无法滚动到底部

Open Still4 opened this issue 2 years ago • 3 comments

Bootstraptable version(s) affected

1.19.1

Description

监听了下虚拟滚动的事件,发现当滚动到100行以后会预加载下一页,也就是150-350行的数据,加载出来的数据似乎判定为无效,会再次加载0-200行的数据,表现上就是最后100以后的行无法显示,滚动条到对应位置会短暂白屏,然后跳回100行的位置

Example(s)

No response

Possible Solutions

No response

Additional Context

No response

Still4 avatar Sep 08 '22 09:09 Still4

更新下,临界行数不是110-160,跟页面可显示行数有关,应该是100+x和150+x

Still4 avatar Sep 08 '22 09:09 Still4

Please provide an Online Example to show your problem. Thanks! 麻烦提供下例子。

wenzhixin avatar Sep 09 '22 02:09 wenzhixin

出现问题的表格比较复杂,尝试做了下简化

简化的过程中发现问题原因在第三列,有些行折行了,似乎影响了高度的计算?

https://live.bootstrap-table.com/code/Still4/12781

Still4 avatar Sep 09 '22 04:09 Still4