Angular ui-select2 - hide initial drawing/rendering of component
问题 I'm evaluating using Angular with ui-select2 and wondered whether someone could provide help on hiding the flicker/conversion of the <select> into the select2 component. It's only very brief, but users can see the component change styles. Is there a way of hiding it until the select has been modified by select2? 回答1: I came across the same problem and I had a look at the source code. The directive is deliberately initialised later by using a timeout. In the code there is a comment saying