I am using angular-ui/ui-select inside a custom angular directive, when I first load the page, or do a full browser refresh, the dropdown menu does not appear when I click the dropdown arrow, however, if I navigate to another state (yes I'm using ui-router) then go back to the state that has the dropdown, the dropdown works just fine. Here are a couple of observations:
- I tried to both use prototypal inheritance and an isolated scope for my directive, but in both cases, the erroneous behaviour is present.
- I moved the dropdown outside the directive and it works just fine.
Does anybody know what I am doing wrong?
Thanks