Gbuomprisco / ngx-chips

Tag Input component for Angular
MIT License
902 stars 359 forks source link

Dropdown not showing when clicking tags-container and after deleting tags. #848

Open sugoidesune opened 5 years ago

sugoidesune commented 5 years ago

PLEASE MAKE SURE THAT:

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior Clicking on the tags container, puts cursor into input field and typing is possible.

Expected behavior Clicking on the tags container should additionaly open dropdown field. When [showDropdownIfEmpty]="true".

Minimal reproduction of the problem with instructions (if applicable) Can be witnessed on the demo page under example: Tags accepting only items from an autocomplete using an observable and showing dropdown without entering text

What do you use to build your app?. Please specify the version "rxjs": "6.0.0", "tslib": "1.9.0", "core-js": "2.5.1", "zone.js": "0.8.18", "ngx-chips": "2.0.0-beta.0", "rxjs-compat": "6.2.2", "@angular/core": "5.0.0", "@angular/forms": "5.0.0", "@angular/common": "5.0.0", "@angular/router": "5.0.0", "@angular/compiler": "5.0.0", "@angular/animations": "5.1.2", "@angular/platform-browser": "5.0.0", "@angular/platform-browser-dynamic": "5.0.0"

Angular version: "@angular-devkit/build-angular": "~0.10.0", "@angular/cli": "~7.0.2", "@angular/compiler-cli": "~7.0.0", "@angular/language-service": "~7.0.0", "@types/node": "~8.9.4", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "codelyzer": "~4.5.0", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~3.0.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.11.0", "typescript": "~3.1.1"

ngx-chips version: 2.0.0-beta.0 AND 1.9.8

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Chrome