angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.27k stars 6.73k forks source link

feat(dropdown): add optional placement and respect bootstrap classes #6358

Open farooqu opened 7 years ago

farooqu commented 7 years ago

Add an optional dropdown-placement attribute setting much like the tooltips'. If it is specified then bootstrap's dropup and dropdown-menu-right classes will be ignored. Updated positioning of the dropdown menu to always use the position service. Ensured that dropup and dropdown-menu-right will be respected for append-to and append-to-body dropdowns. Updated positioning service to return the element when looking for the offsetParent if the element is not statically positioned.

farooqu commented 7 years ago

Fixes #6030

farooqu commented 7 years ago

Fixes #6323

farooqu commented 7 years ago

Fixes #5767

farooqu commented 7 years ago

Partially fixes: #4762

wesleycho commented 7 years ago

This will need tests - can you add a test that it places it correctly?

Blinnikov commented 7 years ago

Guys, is there any progress on it?

jordandh commented 7 years ago

This fixes quite a few problems. Any chance this is going to be merged in soon?