valor-software / ngx-bootstrap

Fast and reliable Bootstrap widgets in Angular (supports Ivy engine)
https://valor-software.com/ngx-bootstrap
MIT License
5.53k stars 1.69k forks source link

Dropdowns don't automatically open updwards if there isn't enough space #5819

Open pierob-am opened 4 years ago

pierob-am commented 4 years ago

Bootstrap dropdowns normally will automatically open upwards if there isn't enough space to show them downwards on screen, see the demo page. https://getbootstrap.com/docs/4.5/components/dropdowns/

However the dropdowns within ngx-bootstrap do not do this; https://valor-software.com/ngx-bootstrap/#/dropdowns#dropdown-directive

jmhinnen commented 2 years ago

This is causing us problems. Would be nice to put this feature in.

anurag-roy commented 3 months ago

Would really love if this feature lands! Maybe we can add an adaptivePosition flag like we have for popover?