Null tag added to list (race condition) #520
Description
Hi guys,
I'm happy that tagging is being added to ui-select, however, it's still pretty rough around the edges. 0.9.5 fixed a lot of the things that made it unusable (couldn't select first thing, other breaking stuff), but I've encountered another smaller issue with 0.9.5.
http://plnkr.co/edit/Yx4I7EEM7jn7XVdKqsbL?p=preview
Click inside the input area, and then type a comma and then hit enter very quickly (it doesn't occur when you press comma and then spacebar, for some reason). A null item will be added to the array of items, which is annoying since it causes many errors in the console, and cannot be removed by clicking the 'x' or using the delete button.
Also, why does the dropdown flicker when tagging is enabled? It's kinda annoying, and it'd be nice if that could be fixed.
I appreciate the work done here guys!