alexurquhart / vue-bootstrap-typeahead

An autocomplete/typeahead component for Vue 2 and Bootstrap 4
https://alexurquhart.github.io/vue-bootstrap-typeahead/
MIT License
206 stars 157 forks source link

List gets under other components #36

Open chumager opened 5 years ago

chumager commented 5 years ago

Hi, would it be possible to attach the list to the body so when the list is displayed won't be under other components?

It seems to be a bootstrap problem relative to the z-index, I've to do it with other components created by myself, the component vue2-datepicker has it and save me a lot of time fix in it.

Thanks in advance.

eagleDiego commented 5 years ago

I have the opposite issue. Using Leaflet map the z-index of some leaflet elements is set to values up to 1000. I tried to fiddle with CSS with no success.

eagleDiego commented 5 years ago

I have the opposite issue. Using Leaflet map the z-index of some leaflet elements is set to values up to 1000. I tried to fiddle with CSS with no success.

I solved this by enclosing the component in a span with a higher z-index. Hope it helps.