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

Selectbox underneath another element can be clicked #395

Open
fmahannah opened this issue Jan 18, 2019 · 0 comments
Open

Selectbox underneath another element can be clicked #395

fmahannah opened this issue Jan 18, 2019 · 0 comments

Comments

@fmahannah
Copy link

Mostly on mobile devices, we have an autosuggest control that drops down over a couple of selectbox controls. Even though the selectbox controls are hidden from view if you try to click one of the elements in the autosuggest list that is over top of a selectbox, it fires the selectbox control every time making it impossible to make selections from the autosuggest control results list if they are on top of a selectbox position underneath.

Saw some posts about z-index being very high for the selectbox but even if I make sure the autosuggest container has a higher z-index it makes no difference?

If I make the select boxes be normal dropdowns it works fine, so there is something about the selectbox controls that allows clicks to be captured even when covered by another element.

Any suggestions greatly appreciated. For now we have moved the selectbox controls on the page so they are never underneath the autosuggest list dropdown.

Thanks!

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

1 participant