sickdyd/react-search-autocomplete

Search results dropdown is transparent

Closed this issue · 2 comments

Is there a way where we can set the background color, height, width for the Search results container? In my code, the background of the dropdown container is transparent. Hence, I could see the below fields overlapping with the dropdown. I was able to set the styling for each items using formatResult prop but could not handle the container. Also, wondering whether the zIndex might have something to with the overlapping.
autocompletedropdown

@KishoreKumar18 It looks like there's some problem with the z-index. Could you provide a codesandbox example with the issue? It would make it easier to try to fix.

Closing because I assume that the zIndex change fixed the problem.