infinite-react icon indicating copy to clipboard operation
infinite-react copied to clipboard

Column flicker while sorting a column, when there is lazy loading + hideEmptyGroupColumns

Open roblotter opened this issue 3 years ago • 0 comments

Codesandbox demo

https://codesandbox.io/s/naughty-cartwright-r1s874

To Reproduce

Steps to reproduce the behavior (in the codesandbox above):

  1. Expand a group
  2. Sort the age column

Since hideEmptyGroupColumns is true by default, when reloading the datasource, the secondary group column (for the city field) is hidden while loading is in progress and then re-appears when loading is done. This causes an ugly flicker of columns.

roblotter avatar Nov 22 '22 09:11 roblotter