angular-ui/ui-select

Incorrect insert area behaviour for the multi-select mode

dmytro-krekota opened this issue · 1 comments

Bug description:

When the first option is added, multi-select fields are expanded by one extra row. That's confusing and not convenient. It is due to the incorrect width of insert area. The bug appeared after merging #1873 pull request. Not-angularjs multi-select libraries that I find works without the extra row (as in v0.19.5).

Link to minimally-working plunker that reproduces the issue:

Plunker without the bug (UI-Select v0.19.5): http://plnkr.co/edit/mcC7aDYt5GjAqmSBsRfL?p=preview

Plunker with the bug (UI-Select v0.19.8): http://plnkr.co/edit/FW25cW?p=preview

Also, see screenshot: https://d2ffutrenqvap3.cloudfront.net/items/3Y3G213T0R2U210L3N2t/%5Bc527009269f6604824f37bc9131d34aa%5D_Image%25202018-03-27%2520at%25207.26.18%2520PM.png?v=747d512e

Version of Angular, UI-Select

Angular: 1.5.0
UI-Select: 0.19.8

I think this may be related to the pull request #2045.
Would also be happy if this issue could be fixed that I can upgrade to the newer version.