bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Dropdown: Append-to-body breaks dropup

Open shyamal890 opened this issue 10 years ago • 8 comments

When class="dropup" and dropdown-append-to-body are used together. The dropdown no longer dropsup.

shyamal890 avatar Jun 20 '16 09:06 shyamal890

@shyamal890, please be respectful of our time and processes by adhering to the issue template. As we are all volunteers, we simply do not have the time to chase every incomplete issue entered by users.

icfantv avatar Jun 20 '16 18:06 icfantv

closing due to lack of response.

icfantv avatar Jun 24 '16 05:06 icfantv

http://plnkr.co/edit/9Mc7WQ7qUbbAgQDlIpIv?p=preview

shlomil avatar Jul 20 '16 10:07 shlomil

@shlomil thanks for the plunker. i'm not seeing what the issue is. can you please post steps to recreate? thanks.

icfantv avatar Jul 20 '16 19:07 icfantv

Sorry, I thought the plunkr was clear. There are 3 examples in the above plunkr. All use class "dropup" which means it should display the dropdown menu above the button. It works fine in normal use (3rd button) but if you try to use the dropdown-append-to-body directive, it will display the menu below the button, ignoring the dropup class.

shlomil avatar Jul 22 '16 21:07 shlomil

@shlomil, ah, I understand now. Reopening. In general, it's a good idea to explain exactly what the issue is and exact steps to show us the issue. As we are all volunteers, we simply do not have the time to chase everything down. Thanks.

icfantv avatar Jul 23 '16 13:07 icfantv

This is likely related to the $uibPosition service usage in the dropdown - it has no knowledge of the dropup class. We need to add logic to account for that, and position it appropriately in that situation.

wesleycho avatar Aug 09 '16 10:08 wesleycho

Any word on when the fixes are going to be reviewed and, hopefully, accepted?

moses-v51 avatar Apr 17 '17 18:04 moses-v51