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

Prop for auto-placement of items list #91

Open blint96 opened 3 years ago

blint96 commented 3 years ago

When typeahead input is on bottom of page and user open typeahead hints, many of them are out of screen. This is my solution of this problem.

When input is on first 50% of viewport height, list displays as always to the bottom but when input is on second 50% of viewport height, list goes above the input.

Thank you for your involvement in open-source solutions and I'll be glad if you find my PR helpful.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 97


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/VueBootstrapTypeahead.vue 0 5 0.0%
<!-- Total: 0 5 0.0% -->
Totals Coverage Status
Change from base Build 38: -5.8%
Covered Lines: 47
Relevant Lines: 73

💛 - Coveralls