Gbuomprisco / ng2-material-dropdown

Angular 2 Material-like Dropdown Component
MIT License
37 stars 54 forks source link

Dropdown have no scrollbar #35

Closed p-wunderlich closed 7 years ago

p-wunderlich commented 7 years ago

Hi,

I've just upgraded from ng2-tag-input 1.3.5 to ngx-chips 1.5.0 + 0.7.9-beta-3 (also tried with 0.7.7).

Now I'm facing the problem that my dropdowns don't have a scrollbar anymore, the component just shows a very long list of all autocomplete entries.

Used code:

<div class="form-group">
  <label>Place Type</label>
              <tag-input name="placeType" [(ngModel)]='placeTypes'
                         [placeholder]="placeTypesOptions.placeholder"
                         [secondaryPlaceholder]="placeTypesOptions.secondaryPlaceholder"
                         [separatorKeys]="placeTypesOptions.separatorKeys"
                         [onlyFromAutocomplete]="true">
                <tag-input-dropdown
                  [showDropdownIfEmpty]="true"
                  [autocompleteItems]="placeTypesAutoComplete">
                </tag-input-dropdown>
  </tag-input>
</div>

Here is also a picture:

screen shot 2017-08-13 at 14 55 34

Maybe just some wrong configuration? I've already searched in the issues + docs, but it looks like the configurations is correct (and I'm the only one who have this porblem^^)

Thanks, Patrick

Gbuomprisco commented 7 years ago

Hi @pschalk,

this is definitely a bug, the config is OK and I can reproduce. Will have a look soon (thanks for posting here and not ngx-chips :)

p-wunderlich commented 7 years ago

Cool, thanks for your fast reply + help :)

msouf commented 7 years ago

Hello,

I am facing the same problem as pschalk describe with the last version of ngx-chips 1.5.2. The dropdown has nor a fixed height and neither a scrollbar.

Please let us know if there is a workaround while waiting for the correction.

Thank you Soufiane

Gbuomprisco commented 7 years ago

v 1.7.10 released :)

p-wunderlich commented 7 years ago

You mean 0.7.10 :D I've tested it, bug is fixed, many thanks! :)