You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
As _ensureHighlighVisible() is being called in a setTimeout() might be triggered in situations where the ui-select is actually closed and thus, the options aren't rendered. This clashes with the assertion of "choices.length > 1" made in _ensureHighlightVisible. It happens frequently on slower machines when double clicking the input field.
This is the same bug that was observed in #1355 (which was not a duplicate of #224, as the error thrown is quite different).
Link to minimally-working plunker that reproduces the issue:
To reproduce:
Open plunkr below
Enable Chrome performance throttling and set it to 10 - 20x slower
Bug description:
As _ensureHighlighVisible() is being called in a setTimeout() might be triggered in situations where the ui-select is actually closed and thus, the options aren't rendered. This clashes with the assertion of "choices.length > 1" made in _ensureHighlightVisible. It happens frequently on slower machines when double clicking the input field.
This is the same bug that was observed in #1355 (which was not a duplicate of #224, as the error thrown is quite different).
Link to minimally-working plunker that reproduces the issue:
To reproduce:
http://plnkr.co/edit/ShmVlq3Xk7QVHurt6BLU?p=preview
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
Angular: latest
UI-Select: latest
Bootstrap/Select2/Selectize CSS (if applicable): Bootstrap
The text was updated successfully, but these errors were encountered: