To show the immediate search result of products in the top bar, Enable product suggestions.
1. Click on the Theme settings icon on the left sidebar 2. Scroll down and enable Product suggestions under the Search behavior section. 3. Click the Save button at the top right.
Enable product suggestions Only applies to Header layout : Logo left, menu drawer.