Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background color of result items being transparent #100

Open
Abenezer01 opened this issue Dec 11, 2022 · 3 comments
Open

background color of result items being transparent #100

Abenezer01 opened this issue Dec 11, 2022 · 3 comments

Comments

@Abenezer01
Copy link

Abenezer01 commented Dec 11, 2022

background color of results items being transparent and I can't find a setting to change it
image

@dobroangle
Copy link

try setting zIndex: 10

@muruw
Copy link

muruw commented Mar 25, 2023

This seems like something that should be enabled by default, no? I can't think of a reason why the items should be transparent. The current solution as dobroangle said is indeed to add:

<ReactSearchAutocomplete styling={{ zIndex: 10 }} />

@ahsanazwar
Copy link

ahsanazwar commented Oct 4, 2023

<ReactSearchAutocomplete items={getSearch} onSearch={handleOnSearch} onHover={handleOnHover} onSelect={handleOnSelect} onFocus={handleOnFocus} autoFocus formatResult={formatResult} styling={{borderRadius: "0",zIndex:"999"}} className="headerSearch" />

.headerSearch .wrapper ul{ background-color: #fff; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants