reactablefmtr
reactablefmtr copied to clipboard
group_border_sort Empty table
Hi!
I've found a little problem with the group_border_sort function. If the table is sorted and you search for a text that doesn't exist, it removes all the UI from the table.
Here is a little reprex showing the error:
packageVersion("reactable")
#> [1] '0.3.0.9000'
packageVersion("reactablefmtr")
#> [1] '2.0.0'
reactable::reactable(data = iris, searchable = TRUE, defaultSorted = "Species",
rowStyle = reactablefmtr::group_border_sort("Species"))

Created on 2022-12-07 with reprex v2.0.2