Okay, so I know how to implement search by filtering the list and updating the state based on the filtered list, but what I wanna do is highlight the matching item while not filtering the list. It should work like on windows, where if we type any key, the matching item is selected while the list is intact itself?
Sebastian
Hmm if it should work like in the windows explorer and it should work without a input field (which captures the key stroke) then you would have to intercept the key stroke of the entire browser window and do things like finding the elements in the list and highlight them. Is this what you want to accomplish? Just asking because Ctrl + F does may 80% of what you want.
Anyway I would tackle it like this: