-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Input Width not 100% #533
Comments
Same symptoms here, anything happened since then ? |
@erslater, could you provide demo? |
Here is a Plunker updated to latest versions of everything and demonstrating the issue: http://plnkr.co/edit/f6o1hxq1Yymc7Vv2oMHb?p=preview As you can see removing |
Having the same issue here.... For now, in my scenario, was able to hack around the problem by tweaking the positioning of related elements. Of course the ui-select-container needs a height... .select2-choices {
position: relative;
}
.ui-select-multiple input.ui-select-search {
width: 100% !important;
position: absolute;
} |
i have the same issue. Small hack from rwhee solved problem for me (for now..) |
Same isssue. But my workaround is:
|
This solution not working when we have short select and long text selected because we don't have space to click and add another item. I prefer to add width: inherit !important and add plus icon for input |
Same problem here, but for now @macem's solution works |
Same problem here. |
Possible duplicate of #1111 |
I ran into the same problem while using ui-select inside of a table, inside of angular-ui's Bootstrap tabs. Fixed it by adding a |
Similar to @rywhee I ended up with a CSS based solution. Mine is a little different due to what I assume to be difference in attr/class naming with different ui-select versions. I am using ui-select 0.13.2 together with Bootstrap 3's modal. I included a ".modal" to limit this 'fix' to only ui-select's within a bootstrap modal window. I also included a min height for ui-select-multiple as due to absolute setting on child (ui-select-search) it had no height.
|
+1 for @ma-zal's solution. Thank you |
why this is still a bug? |
+1 on Version 0.14.0 |
+1 for @ma-zal |
+1 on 0.14.2 |
+1 |
+1 on 0.14.9 |
The width is broken, for me it is always 100%. |
I experience the same error both with @PowerKiKi's plunker, where the input size in Tab 2 is always 10px until it been focused. I experience the same problem using the current (fe0c0c1) |
+1 to @mtr |
Same bug, but this works fine to me:
|
I have the same problem. When I resize the browser the width of ui select changed to 10px. The following works for me. input.ui-select-search { |
+1 - version 0.17.1 |
+1 |
+1 on 0.17.1 |
+1 0.17.1 |
+1 0.17.1 |
I've just tried this, updating the plunkr above, but it's still not working, so appears to be a different issue. Sorry for the confusion! |
+1 0.18.0 |
there is another solution:
and in css:
in this solution input does'not have 100% width for all the time |
@ma-zal workaround did the trick for me. Thanks 👍 |
better fix here:
P.S. Version: 0.19.5 |
+1 |
@bartvanremortele I had the same issue. Dived into the code a bit and found out that the ui-select watches the ng-disabled parameter and updates the search input width. |
@AndreevskiAleksandar Still have the same problem as @bartvanremortele and it won't fix with your solution. Even the documentation http://angular-ui.github.io/ui-select/demo-multiple-selection.html is broken. |
@AndreevskiAleksandar your solution + css one make it work for me. Thanks! |
@keeprock where did it work for you to apply the disable true/false? Thanks in advance! |
This thread seems to be related to pretty old version, I assume you're using latest version? With latest version I no longer have issue stated in this thread but do have another issue with has been brought up in PR #2045 |
Is anyone still experiencing this bug, I am using version 0.19.8 and had to use the css workaround setting the ui-select-search width to 100% !important |
I have a multi select inside a bootstrap tab page and the search input is only 10px wide when it first displays.
After clicking on the tab that the multi select appears on the width will expand to 100% once focus is placed on any of the controls in the form.
The text was updated successfully, but these errors were encountered: