将 Angular Virtual Scrolling 与具有粘性标题的 ui5-table Web 组件一起使用

问题描述

当我将 Angular Virtual Scrolling 与 ui5-table web 组件一起使用时,sticky-column-header 标志设置为 true 时,列标题在向下滚动时移动到底部随机跳转)。 在我的设置中,我使用 100 个条目和 3 列以及像这样的虚拟滚动:

<cdk-virtual-scroll-viewport itemSize="20">
 <ui5-table>
 ..
  <ui5-table-row *cdkVirtualFor="let entry of list">
   <ui5-table-cell>..</ui5-table-cell>
  </ui5-table-row>
 ..
 </ui5-table>
</cdk-virtual-scroll-viewport>

表格顶部:

enter image description here

表格的上半部分,这里的标题随机上下移动:

enter image description here

底部

enter image description here

有人知道如何解决这个问题吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)