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

Z-Index problem with dropdown menu #713

Closed
cmlenz opened this issue Mar 3, 2015 · 1 comment
Closed

Z-Index problem with dropdown menu #713

cmlenz opened this issue Mar 3, 2015 · 1 comment

Comments

@cmlenz
Copy link
Contributor

cmlenz commented Mar 3, 2015

We are using a layout that has a table-like list of items, each containing a ui-select field. The items in this list need to be relatively positioned, and they need a z-index. This layout causes the ui-select dropdown menu to be rendered below the subsequent items in the list.

I have created a minimal example for this problem here:

http://plnkr.co/2K8HuGAJ8EzJWlDaQJSh

As far as I'm aware, this is not a problem that ui-select itself can fix. However, we do need a way to handle this situation ourselves in our application, by increasing the z-index of the item with an open ui-select dropdown menu.

My first thought would be to add on-open and on-close events to the ui-select directive. Is that something that would be accepted (I can create a PR)? Or is there a better way to achieve what we need that I'm overlooking?

Thanks!

@cmlenz
Copy link
Contributor Author

cmlenz commented Mar 3, 2015

After some more research this issue would be addressed by adding an append-to-body option as suggested in #41.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant