nova-sortable
nova-sortable copied to clipboard
Re-ordering a record using "move to top" or "move to bottom" will hide the previously expanded pages and not allow them to be expanded again
Discussed in https://github.com/outl1ne/nova-sortable/discussions/181
Originally posted by Damnval September 12, 2023 When I use the "move to top" or "move to bottom" feature the previously expanded page cannot be expanded again. (Expand means loading the other records)
Say I have 20 records in Users Table and the table only shows 5 user records initially. When I try to load more records (Load 5 more - placed in the middle as shown in the image), it expands the table and will show 10 records. And then when I try to use "Move to top/bottom" the table resets back to show only 5 records. The issue arises when I click again the "load 5 more" button. the table will only show 10 records (because 5 initially plus loads another 5), but in the http request
(checking the network in inspect element) it is saying that it has loaded 15 records already as I have clicked the "load 5 more" twice.