Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

feat(dropdown): make dropdown-append-to-body configurable #6356

Merged
merged 3 commits into from
Jan 20, 2017

Conversation

farooqu
Copy link
Contributor

@farooqu farooqu commented Dec 10, 2016

Make dropdown-append-to-body accept a value which will be evaluated to
determine if the menu should be appended to body. If no value is
specified, or a non-false value is specified then the menu will be
appended to body. If the value is false then the menu will not be
appended to body.

Umer Farooq added 3 commits December 9, 2016 21:07
Make dropdown-append-to-body accept a value which will be evaluated to
determine if the menu should be appended to body. If no value is
specified, or a non-false value is specified then the menu will be
appended to body. If the value is `false` then the menu will not be
appended to body.
Only append and remove append-to and append-to-body menus when the
menu is opened or closed. This allows for the values of append-to and
append-to-body to be evaluated when the menu is toggled open, and also
prevents littering of the DOM.
Instead of removing the dropdown-menu on close, append it back to the
original element.
@wesleycho wesleycho added this to the 2.5.0 milestone Jan 10, 2017
Copy link
Contributor

@wesleycho wesleycho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM

@icfantv icfantv merged commit 7d3a750 into angular-ui:master Jan 20, 2017
@farooqu farooqu deleted the optional-append-to-body-dropdown branch February 9, 2017 03:53
@farooqu farooqu restored the optional-append-to-body-dropdown branch February 9, 2017 04:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants