AllenFang / AllenFang/react-bootstrap-table

Slow expanding of rows if a table is used in it

未关闭
#1,537 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
2.2k
派生
761
PR 合并指标
30 天内没有已合并 PR

描述

Hi there,

I got a strange issue when I'm putting a sub table in an expanded row of a root table. I wrote a little POC (https://github.com/CroniD/react-bootstrap-table-big on branch `master`) which you can use to reproduce this.

If one tries to expand/collapse a row, the browser gets a big lag. The lag gets bigger for each row, so I think when an expansion is triggered, the component loops through all rows of the root table.

Best regards

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。