class SearchableDirective (searchable.directive.ts)
the main problem of delays and hang is cleanHighlight function
pipe delays added to prevent input control send all text changes immediately if input is fast
check of current searching process is running added
check if input text is changed after current searching process is done added
Current problem
in some special cases of cleaning large amount of previously highlighted search results - input control
hangs for a while and doesn't show current user input changes. after all done - all works fine back
Current problem
in some special cases of cleaning large amount of previously highlighted search results - input control hangs for a while and doesn't show current user input changes. after all done - all works fine back