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

Clicking on the Scrollbar closes the dropdown #91

Open
ednelson89 opened this issue Oct 24, 2019 · 0 comments
Open

Clicking on the Scrollbar closes the dropdown #91

ednelson89 opened this issue Oct 24, 2019 · 0 comments

Comments

@ednelson89
Copy link

ednelson89 commented Oct 24, 2019

I mostly modeled the css from the docs, but clicking on the Scrollbar of the overflow closes the dropdown. Arrows and mouse wheel still work. My css is below. The autocomplete is implemented in a modal, which is why .v-autocomplete-list has a z-index pulling it to the front. If I implement the component outside of the modal, it works just fine, which leads me to think it's something to do with the z-indexing. Any suggestions?

/*V-Autocomplete */ .v-autocomplete { position: relative; } .v-autocomplete-selected { color: green; background-color: #f2fff2; } .v-autocomplete .v-autocomplete-list { position: absolute; width: 100%; text-align: left; border: none; max-height: 400px; overflow-y: auto; border-bottom: 1px solid #157977; z-index: 9999999; } .v-autocomplete .v-autocomplete-list .v-autocomplete-list-item { cursor: pointer; background-color: #fff; padding: 10px; border-bottom: 1px solid #157977; border-left: 1px solid #157977; border-right: 1px solid #157977; } .v-autocomplete-list-item :hover { background-color: #4e88be6e; } .v-autocomplete .v-autocomplete-list .v-autocomplete-list-item.v-autocomplete-item-active { background-color: #f3f6fa; }

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