aslagle/reactive-table

Multi-sorting

Opened this issue · 1 comments

I have a 2 column array, with multiColumnSort: false

When I sort the first column, and then the second column several times, I have a strange bug.
At first I have 100 rows, and the more I sort, the less row i have. see the pictures bellow:
screen shot 2017-04-06 at 19 35 58

after 3 sort, I end with less than 10 rows,
screen shot 2017-04-06 at 19 36 19

When there are a few rows left, the array header begins to jump on the other like you'll see on the picture.
screen shot 2017-04-06 at 19 36 30

Note that there are still 5 pages, so somehow it has to be a display issue.

here my javascript console:
screen shot 2017-04-06 at 19 43 15

Any idea to troubleshoot this ? I went through all the question but couldn't find any soutions.

I noticed that if I sort 100 times the first column, it works fine. only when I sort the second column problem shows up.