Replace the choc-ui autocomplete component with the select (based on rc-select) provided by editor-sdk and remove the choc-ui package
Problems with choc-ui autocomplete include
performance not good, when there are many options there is a performance impact, when the page is refreshed or when the options item is switched up or down, all options items are re-rendered
the default filter is not friendly enough (can be solved by adding a filter function, but performance is not good, see 1)
sometimes the dropdown box will not pop up (no idea why at the moment)
This is a comparison between using choc-ui autocomplete and select(with the addition of the filter function):
choc autocomplete
Replace the
choc-ui autocomplete
component with the select (based on rc-select) provided by editor-sdk and remove the choc-ui packageProblems with choc-ui autocomplete include
This is a comparison between using choc-ui autocomplete and select(with the addition of the filter function):
choc autocomplete
select
Normal use comparison: