I am using ng-multiselect dropdown in my angular application. Problem: When I load the program or open any page with that dropdown, it shows like this:
until I click on the div containing that dropdown, then it becomes normal again:
What could be the problem here?
Please provide relevant code or showcase the problem online (e.g stackblitz). But from what it looks like is that your select is initialized before data that should go into the select is available (updating itself when you click on it). Look over how and when you put data into those selects. In my example I use
ngOnInit
cycle to initialize data.Here is a working example: https://stackblitz.com/edit/angular-ng-multiselect-dropdown-angular7-hr7few?file=src%2Fapp%2Fapp.component.ts