While using the component with large list (5000+), it felt much easier if I can see the selected items first, epically if I am using visibleSelectedItem={false}, so I added an optional selectedToTop Boolean property that will trigger this behavior.
simply it will filter the data twice and using the checkSelected() method
I tested the speed and it's just fine
I hope you like it and approve, I've started programming few months ago and this is my first contribution, I hope it's of some value.
While using the component with large list (5000+), it felt much easier if I can see the selected items first, epically if I am using
visibleSelectedItem={false}
, so I added an optionalselectedToTop
Boolean property that will trigger this behavior.simply it will filter the
data
twice and using thecheckSelected()
methodI tested the speed and it's just fine
I hope you like it and approve, I've started programming few months ago and this is my first contribution, I hope it's of some value.