DevExpress / devextreme-reactive

Business React components for Bootstrap and Material-UI
https://devexpress.github.io/devextreme-reactive/
Other
2.07k stars 381 forks source link

Group cell of second level grouping unexpectedly render `null` in virtualTable, when only one row #3472

Closed torrac12 closed 2 years ago

torrac12 commented 2 years ago

I'm using ...

Current Behaviour

When drag horizontal scrollbar to right, second grouping level's group cell unexpected destroy in virtual table

Expected Behaviour

The second grouping level's group cell should persist.

Steps to Reproduce

examples on CodeSandbox

  1. Resizing browser window to small size (to ensure the left most column will get collapsed when scrolling)
  2. Expand the first level grouping row
  3. Drag the horizontal scrollbar of virtualTable to right

Screenshots

This is right when app mounted image

When drag scrollbar, the second grouping level's group cell unexpectedly render null, which cause total number of td tag less than we wanted. If there are multiple rows, the issue won't re-produce image

Environment

This may relate to the calculation of rowSpanBoundaries

image