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

When component is in modal, scrollbar click makes suggestions disappear #126

Open
ncg777 opened this issue Aug 17, 2021 · 0 comments
Open

Comments

@ncg777
Copy link

ncg777 commented Aug 17, 2021

Hi. We use a vue-typeahead-bootstrap component in a bootstrap modal window in our project.

When the view is too small to accomodate the suggestions, a scrollbar appears, but when one clicks it, the suggestions disappear.

It may be a z-index issue but adding a very high z-index to .vbt-autcomplete-list has not fixed the issue when I tried it.

Bootstrap modal has a z-index of 1050 by default. When I look at the source, in VueTypeaheadBootstrap.vue, I see .vbt-autcomplete-list has a z-index of 999 so there may be a problem here.

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