My problem is the same as this
Navigate through list using arrow keys? (JavaScript/JQ)
but in a single manner. I have two objects in my result_container.
and while pressing keydown or keyup on my search container it's selecting both items from list1 and list2. But I need to select list1 items one by one first then move the selection to the list2 and then from list2 to list1 and so on...
I am using algolia search for searching and I have one search box for multiple indices.
how I can achieve this?