ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

z-index issue on append-to-body

Open piernik opened this issue 11 years ago • 5 comments

If I open bootstrap modal with ui-select - it's below modal. Z-index for bootstrap in append-to-body should be greater that 1050.

piernik avatar Mar 23 '15 19:03 piernik

I'm not sure whether that's the right fix. The current value (1000) is taken from Bootstraps own @zindex-dropdown. How does the Bootstrap JS deal with this problem? Is the dropdown element appended to the modal or modal background instead of the body?

cmlenz avatar Mar 25 '15 15:03 cmlenz

same problem to me.

Gary-Li avatar Apr 13 '15 02:04 Gary-Li

I'm having the same issue, it seems that when opening a bootstrap UI modal, the dropdowns are hidden from having a lower z-index than the modal and the modal's backdrop. This results in the entire field disappearing when clicked. I'm trying to figure out a workaround for myself now, but it's a definite issue if you'll be using it inside of a Bootstrap UI modal.

blairmorris avatar Jun 04 '15 15:06 blairmorris

Still an issue..

Made a super dirty quick-fix:

body > .ui-select-container { z-index:99999999999; }

aske-cph avatar Oct 07 '15 09:10 aske-cph

Closing as a user issue - one can easily add a higher z-index to the component's via CSS.

wesleycho avatar Mar 27 '16 21:03 wesleycho