lordfriend / nya-bootstrap-select

An AngularJS select replacement which build select like dropdown component with collection and ng-model support
http://nya.io/nya-bootstrap-select/
MIT License
179 stars 82 forks source link

data-container support #145

Closed ChiggerChug closed 6 years ago

ChiggerChug commented 7 years ago

I saw on the main page that data-container had been struck out on the future development list. Why is that? I love this plugin, I'm using it everywhere in my application but this is a needed feature for a panel I'm adding a drop-down list to (see example below) issue I need this drop-down to appear above the panel, is this not possible? Is there a hacky way I could do this in the short term?

lordfriend commented 7 years ago

Because the data-container support need measure the position, and handle corner case. which need a lot of work. The requirement for this feature usually occurs when you use this directive inside an container which has a overflow: hidden style.

cr1pto commented 6 years ago

Does this mean that we can't do what you've suggested here, and that we can't simply add data-container="body"?

https://github.com/lordfriend/nya-bootstrap-select/issues/1

lordfriend commented 6 years ago

@cloudstrifebro #1 issue is for the 1.x version which is a simple wrapper of the jquery bootstrap-select. The current version is a rewrite not require jquery and bootstrap-select.